By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,712 Members | 2,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,712 IT Pros & Developers. It's quick & easy.

mouseover events do not fire in IE within a frame

P: 1
I am developing a page which uses DIY drag i.e. I cancel ondragstart, ondragover with window.event.returnValue=false; and simply create a drag image from the image I click on (with 60% opacity to make it look "ghosted") then I move it using the body.onmouseover event positioning my drag image inside a <div> with absolute positioning. I make sure the cursor is not over the div by setting the start position of the drag image well away from the mouse position so that the cursor passes over target elements which fire onmouseover.

The point is that everything works fine in both FF and IE when I test the page. However, when I put the page within a <FRAME> everything still works in FF but not IE where the onmousemove event does not seem to fire when I pass over the target elements. On the other hand I can see that the onmousedown event is working fine. I also see that onmouseover DOES fire however if I pass over my targets without the mouse button down which makes me think it is something to do with IE's drag model. Does anyone have any ideas what may be happening?

Dave
Jul 15 '08 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Post your code or a link to a test page.
Jul 16 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.