Dynamic calendar - Miscellaneous tutorial
- Added: Nov 8th, 2005
- Level: Easy
- Author: Melfina
- Reads: 15,583
This script automatically creates the calendar for the month we are in, as stated on the visitor's computer and highlights the current day.
Take the image above, and with your image editor, add a picture, text or anything you want. Just don't change the lines and the image size! It should remain 110x185 pixels size. Save your calendar image as background.jpg.
With a good html knowledge, you can edit calendar.js to make a diferent template, but don't touch it if you don't know much html, or it may cause the script not to work!
Now to show your calendar on your page, simply add this piece of code where you want it to be:
Done! Now you have your own dynamic calendar. It will look something like this:
Tutorial © Melfina. Do not reproduce in any way without previous permission from the author.