Maybe something like this? http://www.commadot.com/jquery/faq.php
Glen On Nov 9, 2007 5:19 AM, Popech <[EMAIL PROTECTED]> wrote: > > Hello. > > I'd like to ask you how I could have an accordeon menu with standart > effects (slideUp & slideDown) with the following option : > - If I click on a submenu already visible, I don't want it to slide > up and down (beautiluf but not useful) > > For the rest, I use : > > $(document).ready(function(){ > $("#blogextra ul:not(:first)").hide(); > $("#blogextra h2").click(function(){ > $("#blogextra ul:visible").slideUp("slow"); > $(this).next().slideDown("slow"); > return false; > }); > $("#blogextra h2").mouseover(function () { > $(this).css("cursor","pointer"); > }); > }); > > Example : http://www.sakeco.net/blog (on the right side) > > Greetings from France, > Popech > >