Every Hour For a Day
|
Note: The scripts below will display the content in a new window. If you wish to have the content displayed using the same window remove: target='new' from the inline javascripts.
hourly for day... copy and
paste
<script language="javascript"><!--
/* Script created by Joseph Raymond... javascripts like this can be found at his web site... http://www.christianmuse.com/ */
/* This script displays a different page every hour for a day.
It will require 24 files.
To set it up you need to:
/* Here is the meat of the script. Change Title to what you want. Do not use special characters. Letters and numbers only... */
RightNow = new Date();document.write("<a target='new' href='h4d/" +RightNow.getHours()+ ".htm'>Title</a>")
/*Make sure the above line is not word wrapped. The entire line must be on one line.*/
// --></script>
daily for week... copy and
paste
<script language="javascript"><!--
/* Script created by Joseph Raymond... javascripts like this can be found at his web site... http://www.christianmuse.com/ */
/* This script displays a different page every day of the
week. It will require 7 files.
To set it up you need to:
/* Here is the meat of the script. Change Title to what you want. Do not use special characters. Letters and numbers only... */
RightNow = new Date();document.write("<a target='new' href='d4w/" +RightNow.getDay()+ ".htm'>Title</a>")
/*Make sure the above line is not word wrapped. The entire line must be on one line.*/
// --></script>
daily for month... copy and
paste
<script language="javascript"><!--
/* Script created by Joseph Raymond... javascripts like this can be found at his web site... http://www.christianmuse.com/ */
/* This script displays a different page every day for a
month. It will require 31 files.
To set it up you need to:
/* Here is the meat of the script. Change Title to what you want. Do not use special characters. Letters and numbers only... */
RightNow = new Date();document.write("<a target='new' href='d4m/" +RightNow.getDate()+ ".htm'>Title</a>")
/*Make sure the above line is not word wrapped. The entire line must be on one line.*/
// --></script>
monthly for year... copy
and paste
<script language="javascript"><!--
/* Script created by Joseph Raymond... javascripts like this can be found at his web site... http://www.christianmuse.com/ */
/* This script displays a different page every month for a
year. It will require 12 files.
To set it up you need to:
/* Here is the meat of the script. Change Title to what you want. Do not use special characters. Letters and numbers only... */
RightNow = new Date();document.write("<a target='new' href='m4y/" +RightNow.getMonth()+ ".htm'>Title</a>")
/*Make sure the above line is not word wrapped. The entire line must be on one line.*/
// --></script>
daily for year... copy and
paste
<script language="javascript"><!--
/* Script created by Joseph Raymond... javascripts like this can be found at his web site... http://www.christianmuse.com/ */
/* This is the longest one to set up. It displays a different
page every day of the year. It will require 366 files.
To set it up you need to:
A working example of this setup can be found on my homepage. see Daily Reading. */
/* Here is the meat of the script. Change Title to what you want. Do not use special characters. Letters and numbers only... */
RightNow = new Date();document.write("<a target='new' href='d4y/" +RightNow.getMonth()+ "/" +RightNow.getDate()+ ".htm'>Title</a>")
/*Make sure the above line is not word wrapped. The entire line must be on one line.*/
// --></script>
Hope that this helps you...
Author: Joseph Raymond
12th of December, 2000