Works perfect thanks a lot I replace the ready function with this one:

         jQuery(document).ready(function($){
           // Do jQuery stuff using $
                $("dd").hide();
                $('dt a').click(function(){
        
$(this).parent().next().siblings('dd:visible').slideUp('slow');
                    $(this).parent().next().slideToggle('slow');
                    return false;
                });
         });

And the behaviour is once you click on a menu item it opens, if you click
again it closes.
An all the items on the menu keep hidden

Thanks a lot

-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
de {js}sTyler
Enviado el: Viernes, 02 de Marzo de 2007 10:47 a.m.
Para: discuss@jquery.com
Asunto: Re: [jQuery] Accordion Menu setting



      33. Accordion Menu setting (itmanager)..................

Answer:
Hi Manager dude,
   Hi ITguy... my 1st chance to shine and help out :) 
Hey check this layout:
http://www.generalmedicine.com/index2.htm
SebDuggan.com supplied me the toggle behavior.
Thought I would email you direct, (I hope this is the right addie).
Check my last post in this forum thread for the code from Seb:
http://forum.stylegala.com/about5162.html

My code got a bit muddied on the page because I had conflicts with the
smooth slideshow gallery that uses mooTools. I never could resolve those
conflicts, and had to show the slideshow in an Iframe using another jQuery
plugin for iframes from 33Rockers.com.
Thanks,
  I'll post this in the mailing list also.
Thanks,
Ty
PS: Apologies, I've no idea how to reply to the discuss mailing list using
the forum here at nabble/software/javascript/jquery... or something :)



itmanager-2 wrote:
> 
> Hi everybody, Ive been testing the accordion menu
> (http://docs.jquery.com/Tutorials:Accordion_Menu_%28Screencast%29)
> I try several things on the code but didnt work.
> The accordion menu, by default, on click slide and show the items, but if
> I click again on the same item, the menu doesnt hide.
> I want to know if its possible to make the menu on click->shows and if I
> click the same item then the menu slides and close again.
> thanks for your help
> 
>  
> 
> 
> 
> 
> ________________________________________________________________
> Sent via the WebMail system at tripven.com
> 
> 
>  
>                    
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context:
http://www.nabble.com/Accordion-Menu-setting-tf3331798.html#a9270735
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to