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 

Calendar above Button

 
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> PopCalendarXP Related
View previous topic :: View next topic  
Author Message
prbureau



Joined: 26 Jan 2007
Posts: 5

PostPosted: Thu Feb 01, 2007 9:31 am    Post subject: Calendar above Button Reply with quote

Hi,

We're wondering if it's possible that the calendar will appear above the button instead of below it. Question If so, how? what code do we need to edit or modify? We are using the files on the Classic Demo.

Thanks!
Back to top
View user's profile Send private message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Thu Feb 01, 2007 1:40 pm    Post subject: Reply with quote

Yes, it's possible and easy - there are 2 settings in the theme-name.js file (e.g. normal.js for normal theme) as following:
Code:
var gbAutoPos=true;   // enable auto-adpative positioning or not
var gbPopDown=true;   // true: pop the calendar below the dateCtrl; false: pop above if gbAutoPos is false.

So to force the calendar pop upwards instead of letting the engine automatically adjust it, you just need to change them to the following values:
Code:
var gbAutoPos=false;
var gbPopDown=false;

_________________
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 -> PopCalendarXP Related 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