I'm using jquery and toggle & hover functions to show & hide the menu, the problem comes when using this toggle function:
- $(" #nav li").toggle(function(){
- $(this).find('ul:first:hidden').css({visibility: "visible",display: "none"}).slideDown(400);
- },function(){
- $(this).find('ul:first').slideUp(400);
- });
Then when I click on the links they don't do anything, but whithout toggle they work! What am I doing wrong?Why toggle block the links??