[...]
Your page content to the point you want to insert the calendar form
setIcon("calendar/images/iconCalendar.gif"); $myCalendar->setDate(date('d'), date('m'), date('Y')); $myCalendar->setPath("calendar/"); $myCalendar->zindex = 150; //default 1 $myCalendar->setYearInterval(1960, date('Y')); $myCalendar->dateAllow('1960-03-01', date('Y-m-d')); //$myCalendar->autoSubmit(true, "calendar"); $myCalendar->disabledDay("sat"); $myCalendar->disabledDay("sun"); $myCalendar->setAlignment('right', 'bottom'); //optional $myCalendar->writeScript(); ?>
Rest of your page body content
[...]