calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Sun Apr 03, 2005 6:09 pm Post subject: [PopCalendarXP]Why the calendar looks broken with a blank top on my page? |
|
|
Quote: | The calendar works well in demos but when I tried to implement it on my page, sometimes it shows up broken with a blank fill area on the top, see screenshot attached... |
This is caused by a bug of IE when you dynamically toggle the visibility of certain DIV tags on your page. It can be fixed easily by appending "left:-500px" to the style property of the calendar iframe tag. In addition, you may make sure it's the 1st tag right after the <body> tag and not enclosed by other tags. e.g.
Code: | <body><iframe width=193 height=174 name="gToday:normal:agenda.js:gfPop1" id="gToday:normal:agenda.js:gfPop1" src="scripts/pop/ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px"> </iframe>
...
</body> |
We've included this fix in all of the demos and templates since version 9.4.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|