Goetz's Calendar v1.0

To make the calendar on your home page, add this code to the HEAD tag area of your page. Then place this code, in the BODY tag area where you want the calendar message to appear.

Here is an example of a page displaying the calendar statement.

This calendar is valid for 1998. You will need to edit some of the calendar dates for holidays or events that don't fall on the same date every year. Just edit the date that it's compared to. For example Thanksgiving. In 1998 it will fall on the 26th of November. Next year it will fall on a different date. So edit the code in the november function:

if(date==26)
               date_statement="Happy Thanksgiving.";

Change the 26 to the new date.

You can also add new events to the calendar, by going to the month function and adding a new compare of the date and adding a new date_statement. If you want to delete an event, just remove the date compare and the date_statement line.

I hope you like this script.
Visit my home page for various children's programs and utilities.

Comments and suggestions

Thank you,
Lawrence Goetz