[Bins] JS Slide Show Idea

Chris Croome chris at croome.net
Tue Mar 18 09:12:55 GMT 2003


Hi

Generally I hate Javascript but there are times when it can be handy
-- this is a suggestion for a JS slideshow feature:

On each image page there could be a JS form, (which is written by JS
so that people with JS disabled don't see it) that has a select list
for the time delay and a start slideshow button:

                              +---+ +-------+
  Slideshow: delay in seconds | 2 | | Start |
                              | 4 | +-------+
                              | 8 | 
                              +---+

The form could simply do a get on the current page so that this is
added to the address:

  ?slidshow=on&delay=4

Then some JS in the head could be triggered by the presence of the
query string and load the next page after the delay.

Also the form in the page could look like this while the slideshow
is running:

             +------+
  Slideshow: | Stop |
             +------+
             
And clicking the stop button could do a get on the page without the
query string.
             
This is just an idea -- I haven't done any Javascript for years and
I don't expect I'll have a chance to implement this...

Chris 

-- 
http://chris.croome.net/photos/2003/



More information about the Bins mailing list