Lines Matching refs:doc
32 var getDocumentHead = function( doc ) argument
35 var heads = doc.getElementsByTagName( 'head' ) ;
41 head = doc.createElement( 'head' ) ;
42 doc.documentElement.insertBefore( head, doc.documentElement.firstChild ) ;
67 EditingArea_Start : function( doc, html )
77 var div = doc.createElement( 'div' ) ;
81 FCKDomTools.MoveChildren( div, getDocumentHead( doc ) ) ;
84 doc.body.innerHTML = html.match( /<body>([\s\S]*)<\/body>/i )[1] ;
87 doc.addEventListener('click', function( ev )
94 Panel_Contructor : function( doc, baseLocation )
96 var head = getDocumentHead( doc ) ;
99 head.appendChild( doc.createElement('base') ).href = baseLocation ;
101 doc.body.style.margin = '0px' ;
102 doc.body.style.padding = '0px' ;
120 ToolbarSet_InitOutFrame : function( doc )
122 var head = getDocumentHead( doc ) ;
124 head.appendChild( doc.createElement('base') ).href = window.document.location ;
126 var targetWindow = doc.defaultView;
130 targetWindow.frameElement.height = doc.body.scrollHeight;
136 doc.body.style.overflow = 'hidden';
137 doc.body.innerHTML = document.getElementById( 'xToolbarSpace' ).innerHTML ;