To add the calendar to an existing page, you first
download the cal.js file.
Next, in your existing page "source in" that
javascript file:
<script src="cal.js"></script>
You'll also need to have a div (with an id) in your existing
page, the calendar will be drawn here. For example:
<div id="calendar_div"></div>
Lastly, you'll need to call doCalendar, passing
it the name of your div. For example:
<script>
doCalendar('calendar_div');
</script>
|
View
the calendar ...
|