Hi,

I can't seem to figure out why IE6 crashes with this accordian script.
Here is a live demo: http://tiny.cc/TIQ11

<script type="text/javascript" src="http://code.jquery.com/jquery-
latest.js"></script>
<script type="text/javascript" src="http://dev.jquery.com/view/trunk/
ui/ui.core.js"></script>
<script type="text/javascript" src="http://dev.jquery.com/view/trunk/
ui/ui.accordion.js"></script>
<script type="text/javascript">
        $(document).ready(function() {
                $("#resources> div").hide();
                $("#resources> h3").click(function() {
                        $(this).next("div").slideToggle('slow')
                                .siblings("div:visible").slideUp("slow");
                        });
                $("#resources> h3").mouseover(function() {
                        $(this).addClass("over");
                        });
                $("#resources> h3").mouseout(function() {
                        $(this).removeClass("over");
                        });
        });
</script>



I followed this article to create something similar:

http://www.learningjquery.com/2007/03/accordion-madness

Reply via email to