www.webdeveloper.com
Results 1 to 3 of 3

Thread: Random image cycle question

  1. #1
    Join Date
    Jun 2008
    Posts
    1

    Random image cycle question

    Hello,

    I'm relatively new to Javascript, and I'm trying to put together a slideshow of images that updates with a random image every 10-20 seconds.

    I found one script that did this here: http://javascript.internet.com/misce...e-rotator.html, but unfortunately the script preloads all the images, and as I have about 100 of them this isn't practical!

    Is there a way to do the same thing without preloading any images, and without refreshing the page?

    Thanks in advance!

  2. #2
    Join Date
    Jun 2004
    Location
    Portsmouth UK
    Posts
    2,644
    Vic

    God loves you and will never love you less.

    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  3. #3
    Join Date
    Dec 2005
    Location
    FL
    Posts
    7,259
    Another alternative at post #2 of: http://www.webdeveloper.com/forum/sh...d.php?t=183641

    Would be fairly easy to add a timer to cause the images to change randomly at some set interval.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles