I had to write such code
 $('header ul.navbar-nav li.dropdown a').on('click', function(){ if($(this).
next().css("display")=="block"){ $(this).next().css("display", "none"); } 
else{ $(this).parent().parent().find("ul").css("display", "none"); $(this).
next().css("display", "block"); } return false; });

and return false; was the most significant part of it;

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to