Hello,
I am trying to master (?) JavaScript and I am a little bit in trouble now.
On the “index.html” are a lot of links, each one leading to another html.page.
How can I change (or redirect) to another html.page after a well defined period of time (ex. 5 or 12 days from now on).
So people go automatically to another htmlpage (to see different content) from that specific date.
I tried with the expression <body onLoad=”fctionChange”>.
Trying to write this “fctionChange” I don’t know how to handle the date of today and the date in the future.
I guess it has something to do with ” if …. else”, but I’ts a hard time to make it work.
Maybe I am wrong and it has nothing to do with the “onLoad”event.
Can anyone of you please help me or give me some helpfull tips.
Thanks a lot.
I posted this thread already, but maybe I was not clear enough.
So this is a new try to set things straight.
Sorry .. and thanks for trying to help me.
jef