...
Panel |
---|
fluid.dom.cleanseScripts(element)Cleanse the children of a DOM node by removing all <script> tags. This is necessary to prevent the possibility that these blocks are reevaluated if the node were reattached to the document. fluid.dom.cleaseScripts.MARKERConstant: "fluid-scripts-cleansed" fluid.dom.computeAbsolutePosition(element)Returns the absolute position of a supplied DOM node in pixels. Implementation taken from quirksmode http://www.quirksmode.org/js/findpos.html Return: curleft, curtop fluid.dom.getElementText(element)Returns the element text from the supplied DOM node as a single String. Return: String fluid.dom.insertAfter(newChild, refChild)Mockup of a missing DOM function Inserts newChild as the next sibling of refChild. fluid.dom.isContainer(container, containee)Checks if the specified container is actually the parent of containee. Return: Boolean fluid.dom.isIgnorableNode(node)Determine if a node should be ignored by the iterator functions. Return: Boolean fluid.dom.isWhitespaceNode(node)Determine whether a node's text content is entirely whitespace Return: Boolean fluid.dom.iterateDom(node, acceptor, allNodes)Walks the DOM, applying the specified acceptor function to each element. There is a special case for the acceptor, allowing for quick deletion of elements and their children. if acceptor is d fluid.dom.iterateDom.DOM_BAIL_DEPTH |
...