Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Wed, 26 Sep 2007 11:48:43 -0400,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


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

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us