Re: Date sesitive links

by "Debra Sawyers" <dsawyers(at)ptd.net>

 Date:  Tue, 28 Dec 1999 22:41:23 -0500
 To:  "HWGBASICS" <hwg-basics(at)hwg.org>
 References:  iname
  todo: View Thread, Original
I don't know much about CGI, but there's a Javascript that will redirect the
user to a different page depending on date.
http://javascript.internet.com/navigation/day-of-month-redirection.html

<!-- STEP ONE: Copy this code into the HEAD of your HTML document  -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var today = new Date();
var day = today.getDate();
window.location = day + ".html";
// End -->
</SCRIPT>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size:  0.62 KB  -->


----- Original Message -----
From: "Tim McInturff" <tturff(at)iname.com>
To: "HWGBASICS" <hwg-basics(at)hwg.org>
Sent: Tuesday, December 28, 1999 9:49 PM
Subject: Date sesitive links


> Hello group,
>     I'm not sure where to start on this so I'm coming to all of you for
> help in getting started.
>     What I'm looking to do is have a link that will open a new page for
> each date. Like on Jan. 1st it opens page 1 and on Jan. 2 it opens page
> 2 and so forth. For all intents and purposes the referring page will
> remain the same. Also I would like to have this link on multiple pages.
> I would link that SSI would work but am not sure. I don't have the time
> to learn something new to find out that it wouldn't work. I plan to
> learn a new tech it need be but would like the tech that I learn to be
> the right one from the start.
>     Thanks for your time and expertise.
>
> peace
> tim.m.
>

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA