Draggable tree node
I'm trying to integrate treeview.js and drag and drop utitlity to
build a tree that has draggable nodes. I've used HTML node to create
an element that will be used to create a draggable object
var tmpNode2 = new YAHOO.widget.HTMLNode("<div id=\'Item1
\'>Item</div>", tmpNode, false);
dd3 =new YAHOO.example.productdrop("Item1","droppable");
However, with this i lose all the graphics. TextNodes work fine but
i'm not sure how to make it draggable...Any help would be appreciated
- I'm not writing for the general public. The application will not be
released for at least a year. I'm sharing this code with other
developers as a matter of interest, and to encourage further development
and sharing of useful YUI widgets.
> > It works OK on IE7 and that's the only IE I have, so I haven't
> > any problems. I wouldn't try to use up to date scripting with IE6
> > - it's just too buggy! I'll add the height:auto, but you'll have to
> > me if it works.
> But is it wise to limit your testing platform to a product that nobody
> in general public has?
> This message has been checked for all known viruses. Virus scanning
> powered by Messagelabs http://www.messagelabs.com For more information
> e-mail : hostmaster@...
This message has been checked for all known viruses. Virus scanning
powered by Messagelabs http://www.messagelabs.com For more information
e-mail : hostmaster@...