'techDisplay', 'url' => 'scheduler/populateTechDisplay', 'with' => '"date=" + date')).";"." } function showFlatCalendar() {". //initiate TechDisplay remote_function(array( 'update' => 'techDisplay', 'url' => 'scheduler/populateTechDisplay', 'with' => '"date='.$date.'"')).";"." var parent = document.getElementById('display'); // construct a calendar giving only the 'selected' handler. var cal = new Calendar(0, null, flatSelected); // hide week numbers cal.weekNumbers = false; // We want some dates to be disabled; see function isDisabled above //cal.setDisabledHandler(isDisabled); //cal.setDateFormat('%A, %B %e'); // this call must be the last as it might use data initialized above; if // we specify a parent, as opposite to the 'showCalendar' function above, // then we create a flat calendar -- not popup. Hidden, though, but... cal.create(parent); // ... we can show it here. cal.show(); } "); ?>