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.
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:
CrocoDillion, can you give me some excersice for practice JS (I think you can imagine what level of knowledge I have) because almost everithing what I found in Internt is difficult. I very appreciate your help
By the way, you sure are creative about misspelling my name :P