calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Sun Jan 11, 2009 3:30 pm Post subject: [PopCalendarXP] How to use outlooktwin theme in date range demo? |
|
|
Please append the 2 functions into the plugins.js of the OutlookTwin theme with the following:
Code: | var _startc,_endc;
function fStartPop(startc,endc) {
_startc=startc;
_endc=endc;
var sd=fParseInput(endc.value);
if (!sd) sd=gEnd;
fPopMulti(startc, [gBegin,sd,sd]);
}
function fEndPop(startc,endc) {
_startc=startc;
_endc=endc;
var sd=fParseInput(startc.value);
if (!sd) sd=gBegin;
fPopMulti(endc, [sd,gEnd,sd]);
} |
Then, copy all OutlookTwin theme files, including the modified plugins.js file, into the demos/DateRange folder (replacing the existing ones when prompted).
Finally, config the iframe tag in the DateRangeDemo.htm page to use the new theme - please refer to theme tutorials for how to change a theme.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|