[thelist] javascript slide-show

Christopher Mahan chris_mahan at yahoo.com
Wed Jul 28 18:53:20 CDT 2004


--- David Kaufman <david at gigawatt.com> wrote:

> Scott DeMers <demerss1 at msu.edu> wrote:
> > I've been given a weird assignment at work. I've been asked to
> create
> > a slide show where 100 images are shown one after the other at
> rate
> > specified by the user (I'll offer something like three choices)
> on a
> > web page - sort of like seting a slide projector on automatic. My
> > initial thoughts are to use javascript to create a timer, and
> then
> > refresh the page with a link to the next image at intervals of n
> > seconds. Does this make sense? Is their an easier client-side
> > solution I'm overlooking?

Use the meta redirect page, since you can specify how often to
redirect, and redirect to something like "slideshow.asp?imagenum=75" 
in the page, the imagenum would increment to 76, and redirect after x
seconds, etc, ad infinitum.

Advantage: html only on client side

Disadvantage: need server-side scripting



=====
Chris Mahan
818.943.1850 cell
chris_mahan at yahoo.com
chris.mahan at gmail.com
http://www.christophermahan.com/


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


More information about the thelist mailing list