Results 1 to 6 of 6

Thread: Image Thumbnail Viewer II

  1. #1
    Join Date
    Nov 2008
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail Viewer II

    1) Script Title: Image Thumbnail Viewer II

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...thumbnail2.htm

    3) Describe problem: I have several thumbnail images on one page and want to be able to enlarge them all, one at a time. Once I have clicked or mouseovered to get one enlarged image, it obscures some of the other thumbnails, because I want it to appear in the centre of the screen. I want to be able to close it, so I can see the obscured thumbnails. The script doesn't seem to allow for this, the enlarged image can't be closed or moved without refreshing the page.

    Is there any answer to this please?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    Rooffy (11-13-2008)

  4. #3
    Join Date
    Nov 2008
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Many thanks John, decided to use Lightbox2.

    Just one thing would be useful - the http link from the rev= How do I make this open in a new blank page?

  5. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Upgrade to version 2.04a (not an official DD script, yet):

    http://www.dynamicdrive.com/forums/s...470#post163470

    and use one of its optional new features:

    Code:
    rev="http://www.google.com/::_blank"
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #5
    Join Date
    Nov 2008
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    John,

    Two points you may want to know about light Box 2.04a:

    1. The caption facility can handle text formatting, which is great, but the formatting code is visible on mouseover when using 'click'
    2. Using Firefox 3, the lightbox appears in the centre of the screen. Using IE7, it appears centered at the top of the screen
    Cheers
    Paul
    Last edited by Rooffy; 11-14-2008 at 07:31 PM.

  7. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That's because it uses the title attribute which is used in most browsers as a tool tip. You can overcome this by giving a nested element a different title, ex:

    Code:
    <a href="images/image-1.jpg" rel="lightbox" title="my formatted<br>caption"><span title="my plain tip">image #1</span></a>
    or if using a thumbnail image:

    Code:
    <a href="images/image-1.jpg" rel="lightbox" title="my formatted<br>caption"><img title="my plain tip" src="my_tbn.jpg"></a>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. The Following User Says Thank You to jscheuer1 For This Useful Post:

    Rooffy (11-15-2008)

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
  •