Fixing simple drop-down menu
# April 27, 2013 at 1:07 pm
I want to implement really simple drop-down menu and here what I did http://jsfiddle.net/BWVyH/. I’m complete beginner in JS and I know that my code is awful.
I wasn’t able to do – when you put a mouse on a Submenu it didn’t hide, I tried by canceling hiding, but it didn’t work for me and as a result I set Timeout = 3000; :(
Please, help me to fix this problem and optimize my code. I will be very greatful. Thanks.# April 27, 2013 at 3:54 pm
Hi, here are two tutorials with and without Jquery. hope it might help.# April 28, 2013 at 7:41 am
You need to find a way to make it possible to move the mouse pointer from the menu item to the submenu without triggering mouseout on the menu item. I’ve done this for the first level by adding a padding to `.menu > li`, quick and dirty because I wanted to focus on the JS. Here is the result:# April 28, 2013 at 4:57 pm
By the way, you sure are creative about misspelling my name :P
You must be logged in to reply to this topic.