Results 1 to 3 of 3

Thread: Image Gallery Improvement

  1. #1
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Gallery Improvement

    CSS In question:
    CSS Gallery

    Basically I want to take it one step further by allowing more than rich HTML for the caption. I would like to include links for example. The problem then becomes the hover only effect the gallery currently has.

    Is there a way to set this up so the "last clicked" item stays visible until another is hovered or clicked?

  2. #2
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I just figured this out.

    The above can be achieved by adding the following to the existing css
    Code:
    .thumbnail:focus span{ /*CSS for enlarged image*/
    visibility: visible;
    top: 170px;
    left: 545px; /*position where enlarged image should offset horizontally */
    z-index: 50;
    }
    This makes it so when the click on an image it stays visible until another is clicked, and it is temporarily overridden if you hover over other images in the gallery.

    Try it out!

  3. #3
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This does not work in IE as far as I know, so any help there would be much appreciated.

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
  •