Joined: 30 Jan 2005
|Posted: Tue Feb 15, 2005 4:53 pm Post subject: How can I offset the PopCalendarXP relative to its current position?
|You can do it in 2 ways:
- There is an option in the theme js file called gPosOffset, which controls the offset. Say, if you want to adjust the pop-up position by 10 pixels higher in browsers other than Netscape 4.x, what you need to set is
|var gPosOffset=[0, NN4?0:-10]; |
Since version 8.2 you can also pass the offset directly into each fPopCalendar() call so as to offset the popup position on-the-fly. Please check the beginner tutorial for details.
Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.