Forum Moderators: open

Message Too Old, No Replies

Image loaded by date

         

4hero

7:53 pm on Aug 16, 2006 (gmt 0)

10+ Year Member



Hi guys, I am going on holiday for two weeks and am looking for some help.

My client has asked me to change an image this sunday and next sunday but as I'm on holiday, I can't. I don't do javascript but is there a way to display an image on a certain date? It's for a sale my client has on, the image currently says, "Summer Sale now on", this Sunday it will change to "Summer Sale ending soon" etc..

I have googled it but can't find much :(

Any help would be much appreciated!

Thanks in advance.

Fotiman

8:24 pm on Aug 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You shouldn't rely on JavaScript for this. Instead, do this with server side code. That way you can:

1. Rely on the fact that it will get executed and
2. Rely on the fact that the correct date will be used