thebytes
06-23-2003, 08:25 AM
hello all,
I'm having a hard time trying to simulate a drag & drop object container in a web framed web page. I have a frameset containing at least 2 pages. One of those has a container, menu, table, or whatever that contains <DIV>'s. I need to click on one of those <DIV>'s and perform a visual drag&drop (meaning that the inner html from the DIV must actually move) over the frame border and place it on the second frame.
I tried to do this using PopUp windows object present in IExplorer 6.0 but the Netscape won't work with those since it has'n any implamentation of that object.
I also tried to create on onMouseDown 2 new DIV's one in the current frame and the other in the destination frame, positioned in such a way to follow the mouse move. In the second frame the position is with negative coordinates at start because the DIV is in first frame. This works but if the frame border is set the DIV's will be shown below the border.
The question is : Is there a decent way to perform D&D between frames showing the dragged DIV's content, both in Netscape and IExplorer? And if it exists how is done?
Thanks guys,
I'm having a hard time trying to simulate a drag & drop object container in a web framed web page. I have a frameset containing at least 2 pages. One of those has a container, menu, table, or whatever that contains <DIV>'s. I need to click on one of those <DIV>'s and perform a visual drag&drop (meaning that the inner html from the DIV must actually move) over the frame border and place it on the second frame.
I tried to do this using PopUp windows object present in IExplorer 6.0 but the Netscape won't work with those since it has'n any implamentation of that object.
I also tried to create on onMouseDown 2 new DIV's one in the current frame and the other in the destination frame, positioned in such a way to follow the mouse move. In the second frame the position is with negative coordinates at start because the DIV is in first frame. This works but if the frame border is set the DIV's will be shown below the border.
The question is : Is there a decent way to perform D&D between frames showing the dragged DIV's content, both in Netscape and IExplorer? And if it exists how is done?
Thanks guys,