public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function() {
	 	var self=this, body=document.body;
     	if (!body || !body.firstChild) {
       	window.setTimeout( function() { self.createFrame(); }, 50 );
         return;
     	}
     	var div=this.getDragEl(), Dom=YAHOO.util.Dom;
     	if (!div) {
         div    = document.createElement("div");
         div.id = this.dragElId;
         var s  = div.style;
         s.position   = "absolute";
         s.visibility = "hidden";
         s.cursor     = "move";
         s.border     = "2px solid #aaa";
         s.zIndex     = 999;
         var size = this.terminalProxySize+"px";
         s.height     = size; 
         s.width      = size;
         var _data = document.createElement('div');
         Dom.setStyle(_data, 'height', '100%');
         Dom.setStyle(_data, 'width', '100%');
         Dom.setStyle(_data, 'background-color', '#ccc');
         Dom.setStyle(_data, 'opacity', '0');
         div.appendChild(_data);
         body.insertBefore(div, body.firstChild);
     	}
 	}
function() {
	 	var self=this, body=document.body;
     	if (!body || !body.firstChild) {
       	window.setTimeout( function() { self.createFrame(); }, 50 );
         return;
     	}
     	var div=this.getDragEl(), Dom=YAHOO.util.Dom;
     	if (!div) {
         div    = document.createElement("div");
         div.id = this.dragElId;
         var s  = div.style;
         s.position   = "absolute";
         s.visibility = "hidden";
         s.cursor     = "move";
         s.border     = "2px solid #aaa";
         s.zIndex     = 999;
         var size = this.terminalProxySize+"px";
         s.height     = size; 
         s.width      = size;
         var _data = document.createElement('div');
         Dom.setStyle(_data, 'height', '100%');
         Dom.setStyle(_data, 'width', '100%');
         Dom.setStyle(_data, 'background-color', '#ccc');
         Dom.setStyle(_data, 'opacity', '0');
         div.appendChild(_data);
         body.insertBefore(div, body.firstChild);
     	}
 	}
function ( ) { var self = this , body = document . body ; if ( ! body || ! body . firstChild ) { window . setTimeout ( function ( ) { self . createFrame ( ) ; } , 50 ) ; return ; } var div = this . getDragEl ( ) , Dom = YAHOO . util . Dom ; if ( ! div ) { div = document . createElement ( "div" ) ; div . id = this . dragElId ; var s = div . style ; s . position = "absolute" ; s . visibility = "hidden" ; s . cursor = "move" ; s . border = "2px solid #aaa" ; s . zIndex = 999 ; var size = this . terminalProxySize + "px" ; s . height = size ; s . width = size ; var _data = document . createElement ( 'div' ) ; Dom . setStyle ( _data , 'height' , '100%' ) ; Dom . setStyle ( _data , 'width' , '100%' ) ; Dom . setStyle ( _data , 'background-color' , '#ccc' ) ; Dom . setStyle ( _data , 'opacity' , '0' ) ; div . appendChild ( _data ) ; body . insertBefore ( div , body . firstChild ) ; } }
Took this method from the YAHOO.util.DDProxy class
to overwrite the creation of the proxy Element with our custom size
@method createFrame
Took this method from the YAHOO . util . DDProxy class to overwrite the creation of the proxy Element with our custom size