| "+this._selected[i].span.innerHTML+" |
";
- else
- text=this.getSelectedItemText().split(this.dlmtr);
-
- dragSpan.innerHTML=text.join("");
- dragSpan.style.position="absolute";
- dragSpan.className="dragSpanDiv";
- this._dragged=(new Array()).concat(this._selected);
- return dragSpan;
-}
-
-
-
-/**
-* @desc: focus item in tree
-* @type: private
-* @param: item - node object
-* @edition: Professional
-* @topic: 0
-*/
-dhtmlXTreeObject.prototype._focusNode=function(item){
- var z=getAbsoluteTop(item.htmlNode)-getAbsoluteTop(this.allTree);
- if ((z>(this.allTree.offsetHeight-30)) || (z<0))
- this.allTree.scrollTop=z+this.allTree.scrollTop;
-};
-
-
-
-
-
-
-
-
-
-
-
-
-
-///DragAndDrop
-
-dhtmlXTreeObject.prototype._preventNsDrag=function(e){
- if ((e)&&(e.preventDefault)) { e.preventDefault(); return false; }
- return false;
-}
-
-dhtmlXTreeObject.prototype._drag=function(sourceHtmlObject,dhtmlObject,targetHtmlObject){
- if (this._autoOpenTimer) clearTimeout(this._autoOpenTimer);
-
- if (!targetHtmlObject.parentObject){
- targetHtmlObject=this.htmlNode.htmlNode.childNodes[0].childNodes[0].childNodes[1].childNodes[0];
- this.dadmodec=0;
- }
-
- this._clearMove();
- var z=sourceHtmlObject.parentObject.treeNod;
- if ((z)&&(z._clearMove)) z._clearMove("");
-
- if ((!this.dragMove)||(this.dragMove()))
- {
- if ((!z)||(!z._clearMove)||(!z._dragged)) var col=new Array(sourceHtmlObject.parentObject);
- else var col=z._dragged;
- var trg=targetHtmlObject.parentObject;
-
- for (var i=0; i