module_node.html revision 4fcbec6145d16637205990699912fb90f6a3807c
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>API: node (YUI Library)</title>
<link rel="stylesheet" type="text/css" href="assets/api.css">
<script type="text/javascript" src="assets/api-js"></script>
<script type="text/javascript" src="assets/ac-js"></script>
</head>
<body id="yahoo-com">
<div id="doc3" class="yui-t2">
<div id="hd">
<a href="http://developer.yahoo.com/yui/"><h1>Yahoo! UI Library</h1></a>
<h3>node&nbsp; <span class="subtitle">3.00PR1</span></h3>
<p>
<a href="/index.html">Yahoo! UI Library</a>
&gt; <a href="/module_node.html">node</a>
</p>
</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<form name="yui-classopts-form">
<span id="classopts"><input type="checkbox" name="showprivate" id="showprivate" /> <label for="showprivate">Show Private</label></span>
<span id="classopts"><input type="checkbox" name="showprotected" id="showprotected" /> <label for="showprotected">Show Protected</label></span>
<span id="classopts"><input type="checkbox" name="showdeprecated" id="showdeprecated" /> <label for="showdeprecated">Show Deprecated</label></span>
</form>
<h3>Module: node
</h3>
<div class="description summary">
The Node Utility provides a DOM-like interface for interacting with DOM nodes.
</div>
<div class="yui-gc">
<div class="yui-u first">
<form onsubmit="return false">
<p>Search node:
<div id="propertysearch">
<input autocomplete="off" id="searchinput" />
<div id="searchresults">
&nbsp;
</div>
</div>
</form>
<script type="text/javascript">
ALL_YUI_PROPS = [{"url": "Node.html#method_addClass", "access": "", "host": "Node", "name": "addClass"}, {"url": "Node.html#method_all", "access": "", "host": "Node", "name": "all"}, {"url": "Node.html#method_appendChild", "access": "", "host": "Node", "name": "appendChild"}, {"url": "Node.html#method_attach", "access": "", "host": "Node", "name": "attach"}, {"url": "Node.html#method_blur", "access": "", "host": "Node", "name": "blur"}, {"url": "Node.html#config_body", "access": "", "host": "Node", "name": "body"}, {"url": "Node.html#event_bodyChange", "access": "", "host": "Node", "name": "bodyChange"}, {"url": "Node.html#config_cells", "access": "", "host": "Node", "name": "cells"}, {"url": "Node.html#event_cellsChange", "access": "", "host": "Node", "name": "cellsChange"}, {"url": "Node.html#config_childNodes", "access": "", "host": "Node", "name": "childNodes"}, {"url": "Node.html#event_childNodesChange", "access": "", "host": "Node", "name": "childNodesChange"}, {"url": "Node.html#config_children", "access": "", "host": "Node", "name": "children"}, {"url": "Node.html#event_childrenChange", "access": "", "host": "Node", "name": "childrenChange"}, {"url": "Node.html#method_cloneNode", "access": "", "host": "Node", "name": "cloneNode"}, {"url": "Node.html#method_compareTo", "access": "", "host": "Node", "name": "compareTo"}, {"url": "Node.html#method_contains", "access": "", "host": "Node", "name": "contains"}, {"url": "Node.html#method_create", "access": "", "host": "Node", "name": "create"}, {"url": "Node.html#method_detach", "access": "", "host": "Node", "name": "detach"}, {"url": "Node.html#config_documentElement", "access": "", "host": "Node", "name": "documentElement"}, {"url": "Node.html#event_documentElementChange", "access": "", "host": "Node", "name": "documentElementChange"}, {"url": "NodeList.html#method_each", "access": "", "host": "NodeList", "name": "each"}, {"url": "Node.html#config_elements", "access": "", "host": "Node", "name": "elements"}, {"url": "Node.html#event_elementsChange", "access": "", "host": "Node", "name": "elementsChange"}, {"url": "NodeList.html#method_filter", "access": "", "host": "NodeList", "name": "filter"}, {"url": "Node.html#config_firstChild", "access": "", "host": "Node", "name": "firstChild"}, {"url": "Node.html#event_firstChildChange", "access": "", "host": "Node", "name": "firstChildChange"}, {"url": "Node.html#method_focus", "access": "", "host": "Node", "name": "focus"}, {"url": "Node.html#method_get", "access": "", "host": "Node", "name": "get"}, {"url": "NodeList.html#method_get", "access": "", "host": "NodeList", "name": "get"}, {"url": "Node.html#method_getAttribute", "access": "", "host": "Node", "name": "getAttribute"}, {"url": "Node.html#method_getById", "access": "", "host": "Node", "name": "getById"}, {"url": "Node.html#method_getComputedStyle", "access": "", "host": "Node", "name": "getComputedStyle"}, {"url": "Node.html#method_getElementsByTagName", "access": "", "host": "Node", "name": "getElementsByTagName"}, {"url": "Node.html#method_getStyle", "access": "", "host": "Node", "name": "getStyle"}, {"url": "Node.html#method_getX", "access": "", "host": "Node", "name": "getX"}, {"url": "Node.html#method_getXY", "access": "", "host": "Node", "name": "getXY"}, {"url": "Node.html#method_getY", "access": "", "host": "Node", "name": "getY"}, {"url": "Node.html#method_hasAttribute", "access": "", "host": "Node", "name": "hasAttribute"}, {"url": "Node.html#method_hasChildNodes", "access": "", "host": "Node", "name": "hasChildNodes"}, {"url": "Node.html#method_hasClass", "access": "", "host": "Node", "name": "hasClass"}, {"url": "Node.html#method_inDoc", "access": "", "host": "Node", "name": "inDoc"}, {"url": "Node.html#method_inRegion", "access": "", "host": "Node", "name": "inRegion"}, {"url": "Node.html#method_insertBefore", "access": "", "host": "Node", "name": "insertBefore"}, {"url": "Node.html#method_intersect", "access": "", "host": "Node", "name": "intersect"}, {"url": "Node.html#method_inViewportRegion", "access": "", "host": "Node", "name": "inViewportRegion"}, {"url": "NodeList.html#method_item", "access": "", "host": "NodeList", "name": "item"}, {"url": "Node.html#config_lastChild", "access": "", "host": "Node", "name": "lastChild"}, {"url": "Node.html#event_lastChildChange", "access": "", "host": "Node", "name": "lastChildChange"}, {"url": "Node.html#method_next", "access": "", "host": "Node", "name": "next"}, {"url": "Node.html#method_nodeInOut", "access": "", "host": "Node", "name": "nodeInOut"}, {"url": "Node.html#config_offsetParent", "access": "", "host": "Node", "name": "offsetParent"}, {"url": "Node.html#event_offsetParentChange", "access": "", "host": "Node", "name": "offsetParentChange"}, {"url": "Node.html#method_on", "access": "", "host": "Node", "name": "on"}, {"url": "Node.html#config_options", "access": "", "host": "Node", "name": "options"}, {"url": "Node.html#event_optionsChange", "access": "", "host": "Node", "name": "optionsChange"}, {"url": "Node.html#config_ownerDocument", "access": "", "host": "Node", "name": "ownerDocument"}, {"url": "Node.html#event_ownerDocumentChange", "access": "", "host": "Node", "name": "ownerDocumentChange"}, {"url": "Node.html#config_parentNode", "access": "", "host": "Node", "name": "parentNode"}, {"url": "Node.html#event_parentNodeChange", "access": "", "host": "Node", "name": "parentNodeChange"}, {"url": "Node.html#method_previous", "access": "", "host": "Node", "name": "previous"}, {"url": "Node.html#config_previousSibling", "access": "", "host": "Node", "name": "previousSibling"}, {"url": "Node.html#event_previousSiblingChange", "access": "", "host": "Node", "name": "previousSiblingChange"}, {"url": "Node.html#method_query", "access": "", "host": "Node", "name": "query"}, {"url": "Node.html#method_queryAll", "access": "", "host": "Node", "name": "queryAll"}, {"url": "Node.html#config_region", "access": "", "host": "Node", "name": "region"}, {"url": "Node.html#event_regionChange", "access": "", "host": "Node", "name": "regionChange"}, {"url": "Node.html#method_removeChild", "access": "", "host": "Node", "name": "removeChild"}, {"url": "Node.html#method_removeClass", "access": "", "host": "Node", "name": "removeClass"}, {"url": "Node.html#method_replaceChild", "access": "", "host": "Node", "name": "replaceChild"}, {"url": "Node.html#method_replaceClass", "access": "", "host": "Node", "name": "replaceClass"}, {"url": "Node.html#method_reset", "access": "", "host": "Node", "name": "reset"}, {"url": "Node.html#config_rows", "access": "", "host": "Node", "name": "rows"}, {"url": "Node.html#event_rowsChange", "access": "", "host": "Node", "name": "rowsChange"}, {"url": "Node.html#method_scrollIntoView", "access": "", "host": "Node", "name": "scrollIntoView"}, {"url": "Node.html#method_set", "access": "", "host": "Node", "name": "set"}, {"url": "NodeList.html#method_set", "access": "", "host": "NodeList", "name": "set"}, {"url": "Node.html#method_setAttribute", "access": "", "host": "Node", "name": "setAttribute"}, {"url": "Node.html#method_setStyle", "access": "", "host": "Node", "name": "setStyle"}, {"url": "Node.html#method_setStyles", "access": "", "host": "Node", "name": "setStyles"}, {"url": "Node.html#method_setX", "access": "", "host": "Node", "name": "setX"}, {"url": "Node.html#method_setXY", "access": "", "host": "Node", "name": "setXY"}, {"url": "Node.html#method_setY", "access": "", "host": "Node", "name": "setY"}, {"url": "NodeList.html#method_size", "access": "", "host": "NodeList", "name": "size"}, {"url": "Node.html#method_submit", "access": "", "host": "Node", "name": "submit"}, {"url": "Node.html#config_tBodies", "access": "", "host": "Node", "name": "tBodies"}, {"url": "Node.html#event_tBodiesChange", "access": "", "host": "Node", "name": "tBodiesChange"}, {"url": "Node.html#method_test", "access": "", "host": "Node", "name": "test"}, {"url": "Node.html#config_text", "access": "", "host": "Node", "name": "text"}, {"url": "Node.html#event_textChange", "access": "", "host": "Node", "name": "textChange"}, {"url": "Node.html#config_tFoot", "access": "", "host": "Node", "name": "tFoot"}, {"url": "Node.html#event_tFootChange", "access": "", "host": "Node", "name": "tFootChange"}, {"url": "Node.html#config_tHead", "access": "", "host": "Node", "name": "tHead"}, {"url": "Node.html#event_tHeadChange", "access": "", "host": "Node", "name": "tHeadChange"}, {"url": "Node.html#method_toggleClass", "access": "", "host": "Node", "name": "toggleClass"}, {"url": "Node.html#config_viewportRegion", "access": "", "host": "Node", "name": "viewportRegion"}, {"url": "Node.html#event_viewportRegionChange", "access": "", "host": "Node", "name": "viewportRegionChange"}];
</script>
</div>
<div class="yui-u">
<style>
.submodules dd {
font-size: 93%;
font-weight: italic;
}
</style>
<div class="submodules">
<h4>Submodules:</h4>
<dl>
<dt><code><a href="Node.html">node-screen</a></code></dt>
<dd>Extended Node interface for managing regions and screen positioning.
Adds support for positioning elements and normalizes window size and scroll detection.</dd>
<dt><code><a href="Node.html">node-screen</a></code></dt>
<dd>Extended Node interface for managing regions and screen positioning.
Adds support for positioning elements and normalizes window size and scroll detection.</dd>
<dt><code><a href="Node.html">node-style</a></code></dt>
<dd>Extended Node interface for managing node styles.</dd>
<dt><code><a href="NodeList.html">node-base</a></code></dt>
<dd>A wrapper for manipulating multiple DOM elements</dd>
</dl>
</div>
</div>
</div>
</div>
</div>
<div class="yui-b">
<div class="nav">
<div class="module">
<h4>Modules</h4>
<ul class="content">
<li class=""><a href="module_anim.html">anim</a></li>
<li class=""><a href="module_attribute.html">attribute</a></li>
<li class=""><a href="module_base.html">base</a></li>
<li class=""><a href="module_dd.html">dd</a></li>
<li class=""><a href="module_dd-plugin.html">dd-plugin</a></li>
<li class=""><a href="module_dump.html">dump</a></li>
<li class=""><a href="module_event.html">event</a></li>
<li class=""><a href="module_io.html">io</a></li>
<li class="selected"><a href="module_node.html">node</a></li>
<li class=""><a href="module_oop.html">oop</a></li>
<li class=""><a href="module_queue.html">queue</a></li>
<li class=""><a href="module_substitute.html">substitute</a></li>
<li class=""><a href="module_yui.html">yui</a></li>
</ul>
</div>
<div class="module">
<h4>Classes</h4>
<ul class="content">
<li class=""><a href="Node.html">Node</a></li>
<li class=""><a href="NodeList.html">NodeList</a></li>
</ul>
</div>
<div class="module">
<h4>Files</h4>
<ul class="content">
<li class=""><a href="node-class.js.html">node-class.js</a></li>
<li class=""><a href="node-region.js.html">node-region.js</a></li>
<li class=""><a href="node-screen.js.html">node-screen.js</a></li>
<li class=""><a href="node-style.js.html">node-style.js</a></li>
<li class=""><a href="node.js.html">node.js</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="ft">
<hr />
Copyright &copy; 2008 Yahoo! Inc. All rights reserved.
</div>
</div>
</body>
</html>