Results 1 to 4 of 4

Thread: error on the Image Thumbnail Viewer II

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

    Exclamation error on the Image Thumbnail Viewer II

    1) Script Title: can't preload images on the Image Thumbnail Viewer II

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

    3) Describe problem:
    I am following the direction to add "preload: yes" under the "rev" options, but the picture doesn't preload automatically when the page load.


    Code:
    <div id="loadarea" style="width: 600px"></div><br /><br />
    <a href="http://www.nasa.gov/images/content/167040main_image_feature_738_ys_4.jpg" rel="enlargeimage" rev="targetdiv:loadarea, preload:yes">Saturn #1</a><br />
    <a href="http://www.nasa.gov/images/content/168177main_image_feature_749_ys_4.jpg" rel="enlargeimage" rev="targetdiv:loadarea,preload:yes">The Moon #1</a><br />

    please help, thank you.

  2. #2
    Join Date
    Jan 2011
    Posts
    51
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default

    Hi!
    I think if you read carefully and slowly all the text and examine the .js file, perhaps the preload function is activated only using conventional thumbnail images via "mouseover", no text links like in your code.

    - Set preload to "yes" to have the script preload the enlarged image in the background automatically when the page loads, or "no" to have the image loaded only when requested (either "mouseover" or "click" of the THUMBNAIL IMAGE) (sic) -

    On the forum: - It preloads all mouseover images (rel="elargeimage::mouseover") silently in the background onload of the page. If you are using the onclick method, it does not (sic) -

    Luys
    Last edited by Luys; 04-16-2011 at 05:19 PM. Reason: Accuracy

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

    Default

    I had tested the both mouseover, and click . it 's same, the picture didn't preload.

  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

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - 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
  •