I had this same problem before when building an accordion (from scratch using YUI). I believe the problem had to do with IE freaking out when height:0px;. In the moment before display:none; takes over IE will choke on the height:0px; The solution, as I recall, was to shrink the height to 1px and then let display:none go the rest of the way.
On Jan 15, 7:18 am, kim crimson <[email protected]> wrote: > hi, > > I'm developing a site where I'm using an accordion asmenu. The > problem only happens in internet explorer both 6 and 7 when I'm > browsing the site. When ever i go to a new page themenuexpands all > the way for a split second and closes again when the page is done > loading. I can't figure out if it's a browser issue or a code issue. > I've tried to place the jquery code both in the head section and > before the closing body tag, but it renders the same way. It works > perfectly in Firefox, Crome and safari.. Does anybody have and idea > how to prevent it from doing this? You can have a look at the problem > here: > > http://www.saidtheshark.com/vianuova/ > > currently i have this in the bottom of the page: > > <script type="text/javascript"> > jQuery().ready(function(){ > jQuery('#menu').accordion({ > active: true, > header: '.head', > autoheight: false, > navigation: true, > animated: 'easeslide' > }); > }); > </script> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
