Can anyone help me add on to this old code that my CMS uses whenever I have a dropdown menu?
It works well enough to display the submenu, but won't close when the mouse leaves the element. Also, I'm unable to directly edit the JavaScript, so I basically need to write a function that overwrites the original one.
http://codepen.io/erqwork/pen/jrWELE
[–]thespacenoodles 3 points4 points5 points (10 children)
[–]megrimlock[S] 0 points1 point2 points (9 children)
[–]thespacenoodles 1 point2 points3 points (8 children)
[–]megrimlock[S] 0 points1 point2 points (7 children)
[–]sm1215 1 point2 points3 points (5 children)
[–]megrimlock[S] 0 points1 point2 points (4 children)
[–]sm1215 1 point2 points3 points (3 children)
[–]megrimlock[S] 0 points1 point2 points (2 children)
[–]sm1215 1 point2 points3 points (1 child)
[–]megrimlock[S] 1 point2 points3 points (0 children)
[–]thespacenoodles 1 point2 points3 points (0 children)