javascript - making a mouse over event for a div efficiently -


have made simple mouse on event "maindiv" using javascript, - visible "divsub"

and mouse out event - hide "divsub"

works fine fine,

problem

have allow user use control within "divsub" "divsub" dissappears mouse out of "maindiv"

note

while asking few simple solutions did come mind, appears stupid thing, but

am interested in knowing proper way achieve above "mouseover effect on menu (made of labels)"

best done in css. perform more efficiently too.

#divsub {     display: none; }  #maindiv:hover #divsub {     display: block; } 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -