There might be times where you want to redirect all incoming visitors of your site to a certain page. Perhaps you only want to have that redirection active during a certain timespan. But perhaps this timespan is exactly during the weekend and you are somewhere during that time where you do not have internet access so you cannot FTP in and make the changes...
For this purpose I've created this 312 byte Flash file (to download it: right click / save as..) which can be adjusted to your needs. Just place it on your pages and it will automatically redirect every visitor to an URL of your choice if they arrive during the timespan that you have set for redirection. This is definitely not rocket science and it can also be done in Javascript, but I thought it might be useful on February 15.
Usage:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0" WIDTH="5" HEIGHT="5" id="datelinker" ALIGN="">
<PARAM NAME=flashvars VALUE="from=2/15/2003/0/0/0&to=2/15/2003/23/59/59&href=http://www.quasimondo.com/nowar.html">
<PARAM NAME=movie VALUE="datelinker.swf"> <PARAM NAME=quality VALUE=low> <PARAM NAME=wmode value=transparent>
<EMBED src="datelinker.swf" quality=low wmode=transparent WIDTH="5" HEIGHT="5" NAME="datelinker" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"
flashVars="from=2/15/2003/0/0/0&to=2/15/2003/23/59/59&href=http://www.quasimondo.com/nowar.html"></EMBED>
</OBJECT>
As you see it's all in the FlashVars parameter:
from=MONTH/DAY/YEAR/HOUR/MINUTE/SECOND
to=MONTH/DAY/YEAR/HOUR/MINUTE/SECOND
href=URL
HOUR/MINUTE/SECOND is optional. If you omit it it will be set to 00:00:00 which is midnight. To test it right now you can reset your internal calendar to February 14 /23:59:59 and wait for a second.
Posted at February 12, 2003 01:30 PM | Further reading




