Results 1 to 3 of 3

Thread: Image Thumbnail Viewer II script preload image not working

  1. #1
    Join Date
    Feb 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail Viewer II script preload image not working

    1) Script Title: Image Thumbnail Viewer II script

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

    3) Describe problem: The preload image is not coming up, the gallery works fine, but the preload image is not coming up when you view the page, I have looked at the http://www.divine-media.co.uk/thumbn...nailviewer2.js file and it says preload:'yes'

    here is the gallery http://www.divine-media.co.uk/thumbnailviewer/test.php

    any advice please??

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,130
    Thanks
    44
    Thanked 3,228 Times in 3,189 Posts
    Blog Entries
    12

    Default

    Preload only means that the larger images are preloaded into the browser's cache. It doesn't mean that any of them appear in the loadarea when the page loads.

    But you can hard code it that way if you like (it will be overwritten once a trigger is activated). Where you have:

    HTML Code:
      <tr> 
        <td colspan="10" height="379">
    <div id="loadarea" style="width: 600px"></div></td>
      </tr>
    Make that:

    Code:
      <tr> 
        <td colspan="10" height="379">
    <div id="loadarea" style="width: 600px"><img src="main-picture-1.jpg" style="border-width:0" alt=""></div></td>
      </tr>
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default working

    that's great working perfectly now.

    http://www.divine-media.co.uk/thumbnailviewer/test.php

    thanks

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
  •