Click to See Complete Forum and Search --> : Schedule Images on Page?


mksalva
07-02-2003, 09:26 AM
Hi! Help. I was told that there is a way to specify images to run in different days on a web page.

For example, I'd like Image 1 to run from July 15 to July 16, then Image 2 to run in its place July 17 to July 30, and the like.

I was told that a Schedules Include Javascript is the way to go. Great, except, I'm an idiot. Is there a text example that I can use, where I can simply fill in the blanks?

(Follow-up question, but not as important: rather than just changing an image based on the date, can it change based on time of day?)

Thanks!
Mike

Khalid Ali
07-02-2003, 09:35 AM
I have written this script where an image will be changed every hour of the day,The page has complete instructions for how you can modify it to replace iamges daily,weekly or monthly..
check it out if that helps

http://68.145.35.86/skills/javascripts/HourlyImageLoader.html

mksalva
07-02-2003, 10:36 AM
Thank you for your reply. I checked out the link, and, unfortunately, even that was beyond my understanding.

I don't work with Javascript; only programs like FrontPage and Dreamweaver. On a couple of past occasions I had used a Javascript sample that I was able to copy and paste into my HTML with only a small edit or two.

Best,
Mike

phxphun
03-09-2007, 06:28 AM
Hello Khalid Ali!

I need to do the same thing... replace an image with a different image after the first image has appeared for 4 days.
I don't think your example link works any longer. Can you point me to your example page?

phxphun
03-09-2007, 06:43 AM
Khalid Ali,
I found your auto-image loader script on your website. Unfortunately, because it works on a repeating cycle, I do not understand how to modify it so that my image changes after the first 4 days and then never changes again.