Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / December 2005



Tip: Looking for answers? Try searching our database.

Dragging Iframes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mike - 22 Dec 2005 22:53 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.