I have an iframe defined as per below and when I move the mouse towards
the outside of the iframe then the iframe moves like it is suppose to,
but when i move the mouse towards the content of the iframe then the
iframe stops moving until I traverse the content and the mouse is again
over the iframe border.
<iframe id="dwindow1" name="dwindow1" src="lean_field_help_blank.cfm"
scrolling="no" marginwidth="0" frameborder="0"
width="487" height="300"
onmousedown="dragStart(event,'dwindow1','dwindow2');"
onmouseup="dragStop();"
style="visibility:hidden; position:absolute; z-index:99; left:200px;
top:250px; background-color:#ffffff; border:10px solid #ccccff;
cursor:move;">
</iframe>
How do I keep the iframe moving even whenever the mouse is over the
iframe border or content?
Mike
mike - 24 Dec 2005 15:40 GMT
I think I found it:
http://www.mattkruse.com/javascript/dragiframe/source.html
It looks like I create a pointer in the iframe content back to the
iframe.
Mike