<div id="dis1" style=" position: relative; right: 0px; top: 10px; background-color: #f1f1f1;
width: 250px; padding: 10px; color: black; border: #0000cc 2px dashed; "
onmouseout="this.style.background='#f0f000';"
onmousemove="this.style.background='#f06080';">
Bring Mouse inside this <br>After moving inside then take out</div>
Onmousemove events gets triggered when we move the mouse pointer over an element. Here is the syntax
<div onmousemove="trigger some function or change style">
Event HandlingonMouseOver and onMouseOut
prasanth | 01-12-2012 |
hai I am trying to get the bottom shadow for the textbox... please suggest |