Lines Matching refs:node

54 	TrimNode : function( node )  argument
56 this.LTrimNode( node ) ;
57 this.RTrimNode( node ) ;
60 LTrimNode : function( node ) argument
64 while ( (eChildNode = node.firstChild) )
73 node.removeChild( eChildNode ) ;
79 node.removeChild( node.firstChild ) ;
86 RTrimNode : function( node ) argument
90 while ( (eChildNode = node.lastChild) )
113 node.lastChild.parentNode.removeChild( node.lastChild ) ;
121 eChildNode = node.lastChild ;
131 RemoveNode : function( node, excludeChildren ) argument
137 while ( (eChild = node.firstChild) )
138 node.parentNode.insertBefore( node.removeChild( eChild ), node ) ;
141 return node.parentNode.removeChild( node ) ;
144 GetFirstChild : function( node, childNames ) argument
150 var eChild = node.firstChild ;
162 GetLastChild : function( node, childNames ) argument
168 var eChild = node.lastChild ;
272 var node ;
275 node = currentNode.firstChild ;
278 node = currentNode.nextSibling ;
280 if ( !node && ( !stopSearchElement || stopSearchElement != currentNode.parentNode ) )
284 if ( nodeType && node && node.nodeType != nodeType )
285 return this.GetNextSourceNode( node, false, nodeType, stopSearchElement ) ;
287 return node ;
298 var node ;
301 node = currentNode.lastChild ;
303node = ( currentNode.previousSibling || this.GetPreviousSourceNode( currentNode.parentNode, true, …
305 if ( nodeType && node && node.nodeType != nodeType )
306 return this.GetPreviousSourceNode( node, false, nodeType ) ;
308 return node ;
317 GetParents : function( node ) argument
321 while ( node )
323 parents.unshift( node ) ;
324 node = node.parentNode ;
361 GetIndexOf : function( node ) argument
363 var currentNode = node.parentNode ? node.parentNode.firstChild : null ;
370 if ( currentNode == node )
387 var node = doc.createElement( tagName ) ;
389 FCKTools.AppendBogusBr( node ) ;
390 this.PaddingNode = node ;
396 doc.body.replaceChild( node, doc.body.firstChild ) ;
398 doc.body.appendChild( node ) ;
566 GetNodeAddress : function( node, normalized ) argument
569 while ( node && node != node.ownerDocument.documentElement )
571 var parentNode = node.parentNode ;
582 if ( parentNode.childNodes[i] == node )
586 node = node.parentNode ;
822 GetNextSibling : function( node, includeEmpties ) argument
824 node = node.nextSibling ;
826 …while ( node && !includeEmpties && node.nodeType != 1 && ( node.nodeType != 3 || node.nodeValue.le…
827 node = node.nextSibling ;
829 return node ;
836 GetPreviousSibling : function( node, includeEmpties ) argument
838 node = node.previousSibling ;
840 …while ( node && !includeEmpties && node.nodeType != 1 && ( node.nodeType != 3 || node.nodeValue.le…
841 node = node.previousSibling ;
843 return node ;