USAGE

1.Insert the following into your head

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script src="http://modules.localhost/calendar/load.js"></script>

2. place a div tag into the body and give it an id

place a div where you want the calendar to appear

3. load the calendar into the div tag

<script type="application/javascript">

$(document).ready(function(){

$("#yourdivtag").phcalendar({
// All these parameters are optional

// type of calendar to build. Options are (yearly|monthly|weekly|daily)
// defaults to monthly if this is not specified
type: 'monthly',

//
});
});
});

</script>

5. View working example here

Demonstration