|  | | obout.com |
|
|
To move a node up, use : onclick="ob_t2_UpDown('up')"
And to move it down: onclick="ob_t2_UpDown('down')"
To re-order the nodes using drag and drop, simply drag and drop a child node
over its parent. The dragged child will become the first child of the parent.
In order to make this work, the ob_mdn_xxxx.js located in the tree2/script/
folder must be edited.
Open the ob_mdn_xxxx.js file, and locate the following piece of code:
/*ob_t2_MoveDraggableNode(o_A);*/
1.Uncomment that code fragment
2.Comment the next line:
alert("Can not move. The destination is the same as the source.");
(this is located after the ob_t2_MoveDraggableNode function)
|