menu-aim is a jQuery plugin for dropdown menus that can differentiate between a user trying hover over a dropdown item vs trying to navigate into a submenu's contents. This problem is normally solved using timeouts and delays. menu-aim tries to solve this by detecting the direction of the user's mouse movement.
Full Answer
jQuery-menu-aim
menu-aim is a jQuery plugin for dropdown menus that can differentiate between a user trying hover over a dropdown item vs trying to navigate into a submenu's contents.
Want an example to learn from?
Check out example/example.html -- it has a working dropdown for you to play with: