This is a very simple script that will do Christmas day
Code:
var ThisDate = new Date()
var host = "http://" + window.location.host
//getMonth returns 0 to 11
if (ThisDate.getDate() == 25 && ThisDate.getMonth() == 11) {
window.location = host + "/xmas.asp"
}
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|