Click to See Complete Forum and Search --> : JavaScript Web Photo Album


Dathor Verlox
11-20-2003, 02:25 PM
I had a smal brainwave yesterday and was wondering if it is possible to create a slideshow to display pictures one at a time on a page using JavaScript.
I was planning on using one image tage and using variables inside that with two buttons that change the picture.

I was thinking along the lines of setting the image filenames as variables (Image 1, image 2 etc.) and then having the code to display the image using the first variable (and so displaying the first image) with buttons to change the code to display the image so the next image is shown. Is this possible and if it isn't is there any other way of doing this (not nesessarialy using JS but JS is preferable to other langs.)

Thanks

Dathor Verlox

Vladdy
11-20-2003, 05:14 PM
something like that: www.vladdy.net/webdesign/slideshow.html ?