var c = document.getElementById("PanelTree");
// PanelTree is a <div> element!
var n = document.createElement("div");
n.setAttribute('id', 'nu');
n.setAttribute('style', 'position:absolute;left:0px;top:0px;');
var tmp2 = document.createTextNode('hello');
n.appendChild(tmp2);
c.appendChild(n);
//Here evrething works, I see the element attached on PanelTree
// but when I add this..
ADD_DHTML("nu");
dd.elements.nu.write("new hello");
// "new hello" is written
dd.elements.controlPan.addChild(dd.elements.nu);
// it is visible but it doesn't have drag & drop funtionalites!!
//Why??
Maybe wz_dragdrop.js library does not support elements created
dinamically??
My head hurts.. my heart too..
Please help!!
Miko