-
DOM handle dies when mouse crosses iframe
The code in question refers to a modified version of DD's DOM Drag & Drop script.
http://3dfolio.com/ediblepoly/dom_ex.htm
All of the source is in the example.
The problem is that if the handle is being dragged too quickly and the mouse intersects the iframe the script pauses until it exits. I plan to have text within the iframe body that I need to remain selectable as well.
I'm thinking that the simplest method would be to trigger a function to push the mouse back into the parent frame from within the iframe if the mouse enters while depressed
Or maybe creating a transparent handle (small square) that follows beneath the mouse when activating the handle? Or a transparent handle that expands 100% by 100% only while the mouse button is down.
-
-
I solved the problem by using the same showhide() function to call a div to overlap the iframe during mousedown events on handles. Score. ^^
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks