[jQuery] Accordion implementation
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=281420103-26042006>Hi</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281420103-26042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=281420103-26042006>I was just looking
at JQuery for possible use...came across the accordion script. Great except as
you know it flickers in IE6. Just my 2 cents worth I think the problem is that
JQuery is setting the CSS display to "block" before setting the height in the
slideDown function. It seems Firefox doesn't update the display until after a
code block/thread is completed whilst IE6 seems to update as soon as display is
set.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281420103-26042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=281420103-26042006>I'm not too sure how
you would go about fixing this...I had a look at lastest.js in dev and got lost
a little. My guess is somewhere around</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281420103-26042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=281420103-26042006>
z.show = function(){z.ss("block");
z.o.auto=true;z.custom(0,z.max())};</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281420103-26042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=281420103-26042006>It prob needs to
check if it is going to slowly reveal then set the height to 0px and overflow
hidden...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281420103-26042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=281420103-26042006>Hope this
helps</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281420103-26042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281420103-26042006>Kent</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281420103-26042006></SPAN></FONT> </DIV></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/