By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,191 Members | 1,067 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,191 IT Pros & Developers. It's quick & easy.

submenu gets hidden thought the cursor is over the menu

P: 2
Hi
I'm creating a very simple menu which i created many times before but this time i'm facing a problem which is the submenu gets hidden though the cursor is over it here's the js code

Expand|Select|Wrap|Line Numbers
  1. $(".menu").mouseenter(function(){
  2.     $(this).children("div").slideDown(400);
  3.    console.log("inside submenu");
  4.    });
  5.  
  6.    $(".menu").mouseleave(function(){
  7.     $(this).children("div").slideUp(400);
  8.     console.log("out of submenu");
  9.   });
  10.  
you can find the menu here http://mawk3y.net/sky/ the page is in Arabic but the menu link is in englich
Sep 21 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.