Archive for April, 2007



Slider javascript slideshow

Published on April 18, 2007

I forget where we found this, but YVOD has been using this “Slider” javascript slideshow code for years now. We made a few modifications (like randomizing the display), but it is pretty much as we found it.

What does this do?

Just load one of my blog posts for more than 30 seconds and you will see. It randomly slides through a group of pictures.

How to use it?

Put the Javascript stuff up in the header (before the <body> tag). Put the “action!” code anywhere you want your slide show to work.

How does it work?

1) It populates an array of images to choose from
2) It randomly picks one
3) It writes that image to the page
4) It reloads itself every 30 seconds

Will work with
more…