Lines Matching +full:p +full:- +full:up
2 * ---------------------------------------------------------------------------
12 * This file defines helper functions for setting up the calendar. They are
13 * intended to help non-programmers get a working calendar on their site
16 * providing a quick and simple method for setting it up. If you need
22 // $Id: calendar-setup.js,v 1.26 2006/02/11 12:32:59 mishoo Exp $
31 …* -----------------------------------------------------------------------------------------------…
41 * range | array with 2 elements. Default: [1900, 2999] -- the range of years available
53 * step | configures the step of the years in drop-down boxes; default: 2
107 var p = cal.params;
108 var update = (cal.dateClicked || p.electric);
109 if (update && p.inputField) {
110 p.inputField.value = cal.date.print(p.ifFormat);
111 if (typeof p.inputField.onchange == "function")
112 p.inputField.onchange();
114 if (update && p.displayArea)
115 p.displayArea.innerHTML = cal.date.print(p.daFormat);
116 if (update && typeof p.onUpdate == "function")
117 p.onUpdate(cal);
118 if (update && p.flat) {
119 if (typeof p.flatCallback == "function")
120 p.flatCallback(cal);
122 if (update && p.singleClick && cal.dateClicked)
179 for (var i = params.multiple.length; --i >= 0;) {