New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Categories
Other Sections
Sweet Ads
Compatibility
Bookmark online:

FF1+ IE5+ Opr7+

Dynamic Calendar

Updated: Sept 15th, 2000 by Johan Notenboom Eradicated incorrect date display when cycling through year

Description: JavaScript calendars have existed for a long time now, but never have they looked pretty (literally), until DHTML came along. Check out Constantin's cool DHTML calendar, which not only looks handsome, but allows you to dynamically look up the calendar for any particular month/ year (by pressing the "Prev Next" buttons). Cool!

p.s: Dont forget to check out Dynamic Drive's DHTML calculators, which look equally stunning when compared to their JavaScript counterparts...

Demo:


Directions: Developer's View

Step 1: Insert the below into the <body> section of your page where you wish the calendar to appear:

Select All

Step 2: Add the below event handler into the <body> tag itself, like this:

<body onLoad="setCurrentMonth()">

Step 3: Finally, you need to download the following file (by clicking it, or clicking it with the shift key depressed for NS users), and upload it into the same directory as the page containing the calendar:

calendar.js

You're done!