Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JavaScript not capturing onmouseover while dragging an element

0 views
Skip to first unread message

Nathan Sokalski

unread,
Sep 26, 2007, 11:48:43 AM9/26/07
to
I have an element that I "drag" using CSS absolute positioning and
JavaScript's onmousedown, onmousemove, and onmouseup events. I need to
detect when it is dragged into a certain <div>, which I figured I could do
using the onmouseover event. However, this is not working. I am assuming the
reason for this is the fact that the cursor is actually over the element
being dragged, and therefore the only mouse events being triggered are the
ones for the element being dragged. I have seen multiple document and window
methods relating to events, but I am not sure if they would help me, exactly
what they do, or how to use them. If anybody has any suggestions, I would
appreciate the help. I am using IE6 on Windows XP Professional SP2 (although
I would like my code to work on most popular browsers). Thanks.
--
Nathan Sokalski
njsok...@hotmail.com
http://www.nathansokalski.com/


0 new messages