[accordion] Jquery accordion menu opens for a spilt second when navigating pages in internet explorer

[accordion] Jquery accordion menu opens for a spilt second when navigating pages in internet explorer


hi,
I'm developing a site where I'm using an accordion as menu. 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 the menu expands 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>
























    • Topic Participants

    • kim