Results 1 to 4 of 4

Thread: Image Thumbnail Viewer

  1. #1
    Join Date
    Mar 2005
    Location
    I live outside a small historic tourist town in Ohio on a 600acre Horse farm
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Image Thumbnail Viewer

    http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm
    I'm using this script on my mom's site as means to enlarge thumbnails for products. Each product page appears in an IFrame - my question is: is it possible to have the larger image break free from my frames and open on top of everything else? Right now, it opens perfect with the exception that you can only drag it around inside that frame - so, if the full size image that is being loaded, is taller than my Iframe, you have no way of viewing all of it because it's opening on top of the product page inside the IFrame.

    Other than that, I rate this script 5 Stars...Love the concept & the clean look!


    Any help you can offer is greatly appreciated! Thanks for taking time to help me.
    ~Jenna

  2. #2
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Hi

    Why not just do an image swap in another frame... I have an example (soory about page)

    http://www.smos.co.za/tatianna/down.htm
    Very Best Rgds, Simonf :cool:
    __________________________________
    My Site | E-Mail Me

  3. #3
    Join Date
    Mar 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Did you find a solution? I have the same problem.

  4. #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

    The Image Thumbnail viewer is designed around a division on the page it is called from so, I don't think what you are asking for is possible with this script. You have at least two options.

    1) You could change things so that the page with the thumbnails opens in a full window instead of the Iframe.

    2) You could use a script that launches a new window instead of creating a division like Popup Window Generator
    • Create one pop-up window using the code generator. Try to make it as close to what you would desire for every image.
    • Using a copy of the thumbnail page you have now, take the script out of the head. Substitute the script for the head that the thumbnail generator makes.
    • Use the example link the generator creates as a guide to replace all of these:
      HTML Code:
      <a href="photo1.jpg" onClick="return enlarge('photo1.jpg',event)">
      <img src="thumbnail.gif" border="0"></a>
      with these (may be different, use the one generated):
      HTML Code:
      <a href="image_1.jpg"
       onclick="NewWindow(this.href,'mywin','300','300','no','center');return false"
       onfocus="this.blur()">YourLinkText</a>
      use the image tag (ie: <img src=thumbnail_1.jpg>) of the thumbnail in place of 'YourLinkText'.

    That's two ideas, others may have more.

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
  •