PDA

View Full Version : Animated Collapsible DIV and ClearType in IE



billymortz
12-17-2008, 03:01 PM
1) Script Title: Animated Collapsible DIV v2.01

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm

3) Describe problem: The animation routine seems to change the way the text on the entire site is rendered. This is happening in IE, I believe something to do with the "ClearType" feature. When the page first loads, the text is rendered with ClearType, but after you click on the first animated collapsible div link, the text is rendered without it. The older version of this script didn't do this, any suggestions? Any help is greatly appreciated. Thanks!

ddadmin
12-17-2008, 10:18 PM
THe old script didn't fade the contents into view. A quick fix (workaround) is just to disable fading when initializing the script on the target DIV (remove the code in red):


animatedcollapse.addDiv('jason', 'fade=1,height=80px')

billymortz
12-17-2008, 10:49 PM
Aha, interesting trade off, I think I like the fade effect better than the ClearType! Thanks!