Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image Slideshow

Status
Not open for further replies.

shawkz

Programmer
Oct 25, 2005
84
GB
Hi i want to be able to create an slide show of 10 images on a remote webpage.

i.e


I need to be able to calculate the current date/time and use this as the latest image, and the last 9 hours for the other images.. The slide show will just cycle round and as soon as the hour changes so will the most recent image.

Will need to do some checking to see if an image exists yet. If not then it will just continue with the previous 10 images until it exists.

Hope this makes sense!

Please can anyone help!!!
 
You'll have to use something server-side to do the calculations. Javascript (unless used as JScript in ASP) only functions on the client computer.

Changing the array of photos each hour would probably mean either reloading the page on the hour, or using AJAX to update the list.

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top