Overview
I am currently working on an application that takes advantage of a frameset. Each frame serves a specific purpose. The top frame is the controller and script arbitrator. The bigger, lower frame could load any page from any website. The top frame's responsibility is to interpret the bottom document and use JavaScript to manipulate it. Now, when I dynamically created an element in the canvas, if you will, and made it draggable, there were some communication problems. These problems were symptomatic of referencing the root document, when in fact this script requires elements to be reached via parent.frame.document.
Progress
new Draggable(id, {root:parent.frame.document});
I was successful at getting the script to work again in IE by just creating a "root" option with a default of "document". Then, if I wanted to change the parent reference, all I had to do was use the code above. Then I simply changed the register and unregister functions of to reference "draggable.options.root" instead of simply "document". However, I am have extreme difficulty achieving success with every other browser.
Test Cases
I have created two test cases. The first one is the unmodified version (1.70). The second one is the modified version that works in IE. To locate the changes I made in dragdrop.js, please Find "[frame-support]:". I hope I was clear enough.
http://www.digitalhill.com/testcases/scriptaculous/original.html
http://www.digitalhill.com/testcases/scriptaculous/modified.html