mouseover events do not fire in IE within a frame

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dave102
    New Member
    • Jul 2008
    • 1

    mouseover events do not fire in IE within a frame

    I am developing a page which uses DIY drag i.e. I cancel ondragstart, ondragover with window.event.re turnValue=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.onmouseove r 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
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Post your code or a link to a test page.

    Comment

    Working...