I am trying to create a very simple javascript drop down menu. The menu works as intended except when I onmouseout the div that makes the dropped down div visible it is loses its background color. So when I am mousing over #m2 I want the #sddm li a:hover to remain active.
Do I need jquery for this or can it be done in javascript?
I am trying to create a very simple javascript drop down menu. The menu
Share
Do this:
http://jsfiddle.net/cdBZC/
That at least works in FF8.0. The only browser you might have a problem with is IE version 6/7, who may not support the
:hoverpseudo class onlis. I’m not sure.