Results 1 to 6 of 6

Thread: Image Thumbnail Viewer II

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

    Exclamation Image Thumbnail Viewer II

    Hi All,

    I'm using an image viewer script featured on dynamic drive:

    http://www.dynamicdrive.com/dynamici...thumbnail2.htm

    My problem is that by default I need a larger image displayed without having to rely on the user's mouseover or click.

    Can anyone advise what part of the script I would need to edit to do this?

    I'm not great with JS (more of a copy and paste advocate) so I'd really appreciate any guidance.
    Last edited by webmaster10; 11-26-2008 at 11:23 PM. Reason: Resolved! Yay!

  2. #2
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    Luckily for you, someone has been having a similar problem, go to here to find out the solution : http://www.dynamicdrive.com/forums/s...ad.php?t=39141

    Hope this helps,

    Jack

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

    Default

    Hmm. It looks like I have a load area to work with that I didn't notice.

    If I just insert my first large image within the div it seems that I'd have a default image.

    Code:
    <div id="loadarea" style="width: 600px">
    <img src="MYIMAGEWOULDGOHERE.jpg" alt=""><br>
    </div>
    I'm not sure if the default image will be restored after the after the mouse out event but this line contained in the JS file looks promising:

    Code:
    hideimgmouseout: false, 
    //Hide enlarged image when mouse moves out of anchor link? (if enlarged image is hyperlinked, always set to false!)
    I'll let ye know how it goes.

    Thanks for the link!

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

    Default

    Works perfectly, thanks so much Schmoopey. The cookies are on me!

  5. #5
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    Hehe No problem.

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

    The default image will not be restored. If it were a strategically placed and sized background image it could both be restored and be covered each time a larger image was triggered by the script.
    - John
    ________________________

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

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
  •