CalendarXP.net Support Forum Index CalendarXP.net Support
Most forums here are private and invisible to public.
 
 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[PopCalendarXP] How to use outlooktwin theme in date range demo?

 
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> CalendarXP F.A.Q.
View previous topic :: View next topic  
Author Message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Sun Jan 11, 2009 3:30 pm    Post subject: [PopCalendarXP] How to use outlooktwin theme in date range demo? Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> CalendarXP F.A.Q. All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Copyright 2003- Idemfactor Solutions, Inc. All rights reserved.
Powered by phpBB © 2001, 2005 phpBB Group