Results 1 to 3 of 3

Thread: Dynamic Image selector Script

  1. #1
    Join Date
    Sep 2004
    Location
    Westmont, IL
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Image selector Script

    The script works well but the images don't preload so there is a jump instead of a smooth transition when you switch images. When I try to add a "preload image" script, it interferes with another script I'm using for dropdown menus that involves frames. The preload images script is as follows:
    <script language="javascript" src="progressbar.js">
    /*
    Preload Image (w/ progress bar) script II (By BGAudioDr@aol.com, http://www.bgaudiodr.iwarp.com/)
    Script featured on Dynamicdrive.com
    For full source, TOS, and 100's more DHTML scripts, visit http://www.dynamicdrive.com
    */
    </script>

    The script it interferes with is loaded in the body tag:
    <body onload="javascript:{if(parent.frames[0]&&parent.frames['MyFrameOne'].Go)parent.frames['MyFrameOne'].Go()}">

    The actual pages can be found in my "Galleria of Images" link on my homepage at www.applechevy.com. Is there a way to preload the images so they transition smoothly instead of jumping but without interfering with the other script? Help!

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The selector script should preload all images, as it does on my browser.

    If you wait for the page to fully load before changing photos, the effect is shown as required; the only problem would be for people with 56k internet.

    On 512k Broadband, these slideshows appear perfectly.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    In the future please post your question using the format described here: http://www.dynamicdrive.com/forums/showthread.php?t=6

    Regarding the script http://www.dynamicdrive.com/dynamici...geselector.htm , it actually doesn't preload the images within, no. If that particular preload images script conflicts on your page, try this much more basic one: http://javascriptkit.com/script/scri...oadimage.shtml

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
  •