Results 1 to 4 of 4

Thread: Problem with Image Thumbnail Viewer II

  1. #1
    Join Date
    Apr 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem with 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:
    My page works fine with Firefox, but in IE6 it has a strange problem...

    When the page is first loaded, a mouseover on the thumbnails does not change the larger image. However, if you click on one of the thumbnails and then hit your "back" button to return to the original page, it works. If you refresh the page, then it goes back to not working again.

    Here is the page in question...

    http://www.epiphanymastiffs.com/raw.html

    Any ideas?

    Thanks

    Tracy

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    The link you posted works fine for me in IE6, IE7, and FF 2.0.0.2 on Windows XP. When you view the demo (on dynamicdrive), do you experience the same problem?
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

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

    Default

    Quote Originally Posted by thetestingsite View Post
    The link you posted works fine for me in IE6, IE7, and FF 2.0.0.2 on Windows XP. When you view the demo (on dynamicdrive), do you experience the same problem?
    No, the demo works fine. When I work on the page offline it works fine. It started when I uploaded it.

    Tracy

  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

    That problem is happening because live, your page takes so long to load that the script hasn't initialized in time to prevent the links from firing as ordinary links. There are at least two approaches you could take.

    1 ) Reduce the load time of the page. The largest drain on load time of your live page are the videos. Consider having them on a separate page.

    2 ) Hard code the return on the thumbnail's link tags.

    This second one is probably what you should do, even if you move the videos. All you need to do is add an onclick event to each thumbnail link, example:

    Code:
    <a href="raw/rawedie7.jpg" onclick="return false;" rel="enlargeimage::mouseover" rev="loadarea::" title="Edie eating a chicken neck at 8 weeks."><img border="0" src="raw/rawedie7_crop_t80.jpg" width="80" height="80" style="margin-bottom: 1px"></a>
    - 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
  •