Calendar Popups3. In Page |
|
Join the DiscussionMore of this FeatureExactly the same head script can be used to embed calendars directly into the current web page as we used for creating popup calendars. The only difference is that we no longer need to call the calendar() function that creates the popup window but instead call the dispCal() function directly where we want to put the calendar in the current page. The code to display the calendar for the current month looks like this:
<script type="text/javascript">
document.write(dispCal(0,0)); </script> You simply add that code into the body of your page where you want the calendar to appear and the result looks like this:
The Script | Which Calendar? | In Page
|


