That sounds like a really cool idea!
I have been playing with the idea of adding DragDrop capabilities to the tree menu project (http://www.sourceforge.net/projects/jsmenu), which would involve turning it from absolute positioning to relative positioning and making the groupings (i.e. <Image for child1-3> child1-3) all in one div. I was thinking along the lines of making each one its own div and not worrying about divs within other divs, because it might get hairy. What I would recommend offhand is that instead of actually dragging the div that exists in the tree menu, you create an invisable layer not part of the tree menu. Then (and this would take some altering of the dynapi), when you onMouseDown to drag a tree element, copy the html from the selected div, maybe, even filtering the html, so instead of using a regualar folder and regular font, you use a shadow folder and shadow font. Then make reposition your drag layes to be where the old div was. Then make it visible and do the dragging/dropping with it, making it invisible again when you finish. This is my idea of how to go about this, and I don't know how it would be able to come to fruition, though the biggest obsticle I see is the copying of the content of the selected div to the invisible div. Also using the invisible div method has the added benefit that it keeps the tree in tact while you move the other div. Tell me what you come up with. --Gabe Kurt McCaw wrote: > Hi All: > > I have been playing with the 'RiFastSkinTreenode' widget and it is a > very cool! I would like to implement some drag and drop functionality in > it. I can get the dragging and dropping working (it was kind of scary > how straight forward it was) ... but the trouble I am having is when I > grab a node to drag it - it stays in the 'area' or dynalayer of its > parent. I don't know how to have a dynalayer drag over dynalayers of > other items consistently. > > I am including the following 'picture' to help explain: > > Top Level > | > |--- Parent#1 > |-- Child#1-1 > |-- Child#1-2 > |-- Child#1-3 > |--- Parent#2 > |-- Child#2-1 > |-- Child#2-2 > |-- Child#2-3 > |--- Parent#3 > |-- Child#3-1 > |-- Child#3-2 > |-- Child#3-1 > > If I want to drag from Child#1-1 and drop onto Child#1-2 or Child#1-3 no > problem. But if I want to drag Child#1-1 and drop onto Child#3-1 or > Child#2-1, I can't. When I start the dragging the Child#1-1 image is > moved to the 'edge' of the Parent#1 area and then it disappears. > > Any thoughts or ideas would be greatly appreciated. > > Regards, > Kurt > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > > _______________________________________________ > Dynapi-Help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-help > _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help