Results 1 to 2 of 2

Thread: CSS Image Gallery

  1. #1
    Join Date
    May 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS Image Gallery

    Hi, I got the image gallery working on my site, and it's really great. I've read through these forums, and no one else seems to have asked this Q, so here goes.

    I'd like my images to stay put, after they are clicked, so the visitor can then scroll down and view the full image and description, as my images are rather long. Of course, when another image is hovered/clicked on, the image on display would change as normal. Is there code to do this? I have experimented, but can't seem to tweak it so it works. I don't want to shrink all of my images to 500px high!

    Any help will be appreciated.

    Emma

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    This can't be done with pure CSS code. You need some JavaScript. I can't help much there as I juse jQuery for all my javascripting needs (unless you want to use jQuery, that is).

    I did post this for another member a few days ago. It doesn't directly apply but it could be easily adapted to this sort of thing (i think). Someone might be able to help you out with how to adapt it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •