I've viewed your page in IE6 and IE7- the script does work in general as far as I can see in those browsers. If you're talking about how the sub menus seem to not collapse in real time in IE, that's most likely due to the CSS on your page. For example, looking at the class that styles the sub menu contents:
Code:
.Pijltje {
position: absolute;
background-image: url(../Images/Projects/Projectlevel/Algemeen/Pijltje.gif);
width: 21px;
height: 15px;
right: -26px;
top: 0px;
display: none;
}
I can see how that may throw IE off, as you're absolutely positioning these menu items, which causes them to not return their actual height for jQuery to expand/ collapse them correctly. In summary, I'd try and tweak your CSS, perhaps starting out fresh with one of the accordion menus here instead.
Bookmarks