WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Dragging iframe by an anchor element, Mark, July 1, 2003
     Re:Dragging iframe by an anchor element , mirth, September 22, 2003
     Re:Dragging iframe by an anchor element , Jeffrey Jangli, July 1, 2003
     Re:Dragging iframe by an anchor element, Erik Arvidsson, July 1, 2003
         Re:Dragging iframe by an anchor element, Mark, July 1, 2003
             Re:Dragging iframe by an anchor element, Erik Arvidsson, July 2, 2003

Subject: Re:Dragging iframe by an anchor element From: Mark Date: July 1, 2003

Erik,

Do you mind showing how it an be done? I am a little bit confused. Where should I setCapture in IE?

Thanks

From: Erik Arvidsson
Sent: July 1, 2003
Subject: Re:Dragging iframe by an anchor element

The win controls script works with the window and not on iframes. You can get what you want by using the generic move (although this needs to be slightly modified to work with iframs. You need to use setCapture in IE)

erik

_______________________________________________________

Erik,
I found a great sript on your site that let user drag the window by dragging an anchor located inside that window (http://webfx.eae.net/dhtml/wincontrols/demo.html). Can the same concept be applied to the iframe? In other words let's say I have a window with an iframe in it. Inside that iframe there is an anchor element (<div></div> for example). Is it possible to make an iframe drag around inside main window by dragging that <div>?
Thanks.
P.S. Awesome site.





Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX