Location: PHPKode > projects > Volunteer Management OpenSource Software > vmoss_alpha02/3rd/popupcal/example.php
<form action='' method='POST'>
This new version of the little toy, at 19 november 2005, let you to set as link not all days of the week
i use it for reservation page for a camping web site and the start of the week is possible only at the week end and no in all days of the week
NB: THERE IS A LITTLE BUG IN THE CORE JAVASCRIPT: SOMETIME , in the previous month, the days linkable are not

please report any other bug or problem at hide@address.com


Andrea Bersi

//require the class file php
require_once ("cal_class.php");
//include in the file the javascript core
//NB: the core file is included one time only for all istances of class
//it is better to include it in the head of page 
echo '<script language="javascript" type="text/javascript" src="calendar.core.js"></script>';
//create the instance of calendar
$calendario=new Calendar("en");
//print the calendar in italian version of date i.e.: dd/mm/yyyy
echo "<hr>";
//set a background for the week days
//set only a few days of the week linkable
//print the calendar in english version of date i.e.: mm/dd/yyyy
<table width="50%" align="center">
<tr><td>Example of text</td><td>
//print the calendar in italian version of date i.e.: dd/mm/yyyy
<input type="submit"></form>
Return current item: Volunteer Management OpenSource Software