JavaScript not capturing onmouseover while dragging an element
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
njsokalski@hotmail.com
http://www.nathansokalski.com/
date: Wed, 26 Sep 2007 11:48:43 -0400
author: Nathan Sokalski