| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| prbureau 
 
 
 Joined: 26 Jan 2007
 Posts: 5
 
 
 | 
			
				|  Posted: Thu Feb 01, 2007 9:31 am    Post subject: Calendar above Button |   |  
				| 
 |  
				| Hi, 
 We're wondering if it's possible that the calendar will appear above the button instead of below it.
  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 |  | 
	
		|  | 
	
		| calendarxp Site Admin
 
 
 Joined: 30 Jan 2005
 Posts: 409
 
 
 | 
			
				|  Posted: Thu Feb 01, 2007 1:40 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		|  |