diveman100
12-18-2002, 10:33 PM
Hello,
Does anyone have a script or can help me with a script that will show a particular html page depending on the date and/or a series of dates. The goal is to have an index page that will run a script to detect the current date. If it is a holiday, the script will redirect the visitor to a special index.html page based on that particular holiday (new years, etc.). If the date doesn't reference a known holiday it will redirect to the normal index page. One issue is that certain holidays (i.e. thankgiving) fall on a particular day of the week during a certain week (i.e. fourth thursday of November). I'm trying to make it so that the sites index page will show a special holiday page automatically just for that day and then the following day switch back to the normal index page. I know this is probably really easy for you but I can't seem to figure out how to get it to work. Any help is very much appreciated. Thanks.
Does anyone have a script or can help me with a script that will show a particular html page depending on the date and/or a series of dates. The goal is to have an index page that will run a script to detect the current date. If it is a holiday, the script will redirect the visitor to a special index.html page based on that particular holiday (new years, etc.). If the date doesn't reference a known holiday it will redirect to the normal index page. One issue is that certain holidays (i.e. thankgiving) fall on a particular day of the week during a certain week (i.e. fourth thursday of November). I'm trying to make it so that the sites index page will show a special holiday page automatically just for that day and then the following day switch back to the normal index page. I know this is probably really easy for you but I can't seem to figure out how to get it to work. Any help is very much appreciated. Thanks.