calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Tue Feb 15, 2005 4:51 pm Post subject: [PopCalendarXP]The calendar pops up in a wrong place, how to correct it? |
|
|
1st, please make sure you didn't enclose the calendar <iframe> tag with other relative-positioned tags. The <iframe> tag is supposed to go right after the <body> tag of your page. Enclosing it with other tags will affect the correctness of popup position.
2nd, there was a known CSS issue for IE on Mac and certain version of Konqueror that will cause the popup deviates from the designated position. To workaround, you have 2 choices:
- set the margin and padding of the <body> tag in your page to 0. e.g.
Code: | <style type="text/css">BODY {margin:0; padding:0}</style> |
take advantage of the gPosOffset theme option by setting it as following:
Code: | var gPosOffset=(IE&&MAC)||KO3?[-12,14]:[0,0]; |
It means the calendar engine will offset the popup position 12 pixels lefter and 14 pixels lower if it's running inside IE on Mac or Konqueror.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|