Hi, I
want use a mouseover and mouseout event when I Drag some object, but
when I use drag in some object the mouse events in other object dont
start. Exemple

I have a table and its cells have a mouseover and mouseout to change
your background. When I move the mouse curso on the cell mouseover and
mouseout start, but if I drag some object this events cant start.

Tks

I use this JS

$('#drag1').Draggable({snapDistance: 10});
$("#td01").mouseover(function(){
        this.style.backgroundColor = '#cccccc';
});
$("#td01").mouseout(function(){
        this.style.backgroundColor = '#ffffff';
});

and this HTML

<div id="drag1" class="draggable">
        <a href="index.php">Drag me</a>
</div><br><br>
<table border="1" width="50%">
        <tr>
                <td id="td01">&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
        </tr>
</table>

Reply via email to