Skip to main content

Posts

Showing posts from March, 2009

Vertical and horizontal drag/drop node tree

I was recently experimenting with a html tree which can manipulate it's nodes by drag and drop. I wanted to make it horizontally and vertically growable. When I was almost done, I had to rush for a much simpler version of this without the drag/drop part. I think the code I have written so far might be a good starting point to someone who is trying to do the same thing. Download Code The above code use script.aculo.us Prototype and YUI javascript libraries together. Now I am realizing that, using YUI alone might be a better solution for this since YUI also comes with the drag/drop support.