javascript - Hide div on mouseout -
I have two say 'div a' and 'div b' on mouse over DIV, DIV b should appear And should be displayed. There are some links in DIV B now I need to hide DIV B on the mouseout of this DIV B. How to fix this?
I try to hide the code.
Use of jquery
var diva = $ ('div.a'), divb = $ ('div.b') divb.hide (); Diva.on ('mouseover', function () {divb.show ();}); Diva.on ('mouseout', function () {divb.hide ();});
Comments
Post a Comment