|
0
|
1 |
|
|
|
2 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
|
3 |
<html> |
|
|
4 |
<head> |
|
|
5 |
<title>YUI Library Examples: Node: Node Basics</title> |
|
|
6 |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> |
|
|
7 |
<link rel="stylesheet" type="text/css" href="../../assets/yui.css" > |
|
|
8 |
|
|
|
9 |
<style> |
|
|
10 |
/*Supplemental CSS for the YUI distribution*/ |
|
|
11 |
#custom-doc { width: 95%; min-width: 950px; } |
|
|
12 |
#pagetitle {background-image: url(../../assets/bg_hd.gif);} |
|
|
13 |
/* #pagetitle h1 {background-image: url(../../assets/title_h_bg.gif);}*/ |
|
|
14 |
</style> |
|
|
15 |
|
|
|
16 |
<link rel="stylesheet" type="text/css" href="../../assets/dpSyntaxHighlighter.css"> |
|
|
17 |
<link type="text/css" rel="stylesheet" href="../../build/cssfonts/fonts-min.css" /> |
|
|
18 |
<script type="text/javascript" src="../../build/yui/yui-min.js"></script> |
|
|
19 |
<link href="assets//node.css" rel="stylesheet" type="text/css"> |
|
|
20 |
|
|
|
21 |
</head> |
|
|
22 |
<body id="yahoo-com" class=" yui-skin-sam"> |
|
|
23 |
<div id="custom-doc" class="yui-t2"> |
|
|
24 |
<div id="hd"> |
|
|
25 |
<div id="ygunav"> |
|
|
26 |
<p> |
|
|
27 |
<em> |
|
|
28 |
<a href="http://developer.yahoo.com/yui/3/">YUI 3.x Home</a> <i> - </i> |
|
|
29 |
</em> |
|
|
30 |
</p> |
|
|
31 |
<form action="http://search.yahoo.com/search" id="sitesearchform"> |
|
|
32 |
<input name="vs" type="hidden" value="developer.yahoo.com"> |
|
|
33 |
<input name="vs" type="hidden" value="yuiblog.com"> |
|
|
34 |
<div id="sitesearch"> |
|
|
35 |
<label for="searchinput">Site Search (YDN & YUIBlog): </label> |
|
|
36 |
<input type="text" id="searchinput" name="p"> |
|
|
37 |
<input type="submit" value="Search" id="searchsubmit" class="ygbt"> |
|
|
38 |
</div> |
|
|
39 |
</form> |
|
|
40 |
</div> |
|
|
41 |
<div id="ygma"><a href="../../"><img src="../../assets/logo.gif" border="0" width="200" height="93"></a></div> |
|
|
42 |
<div id="pagetitle"><h1>YUI Library Examples: Node: Node Basics</h1></div> |
|
|
43 |
</div> |
|
|
44 |
<div id="bd"> |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
<div id="yui-main"> |
|
|
48 |
<div class="yui-b"> |
|
|
49 |
<div class="yui-ge"> |
|
|
50 |
<div class="yui-u first example" id="main"> |
|
|
51 |
|
|
|
52 |
<h2>Node: Node Basics</h2> |
|
|
53 |
|
|
|
54 |
<div id="example" class="promo"> |
|
|
55 |
<div class="example-intro"> |
|
|
56 |
<p>This example demonstrates how to <code>get</code> and use a <code>Node</code> instance to access DOM properties.</p> |
|
|
57 |
<p>Click the box to update the content of with the <code>tagName</code> of the click target's <code>parentNode</code>.</p> |
|
|
58 |
</div> |
|
|
59 |
|
|
|
60 |
<div class="module example-container "> |
|
|
61 |
<div class="hd exampleHd"> |
|
|
62 |
<p class="newWindowButton yui-skin-sam"> |
|
|
63 |
<a href="basic-node_clean.html" target="_blank">View example in new window.</a> |
|
|
64 |
</p> |
|
|
65 |
</div> <div id="example-canvas" class="bd"> |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
<!--BEGIN SOURCE CODE FOR EXAMPLE =============================== --> |
|
|
69 |
|
|
|
70 |
<div id="demo"> |
|
|
71 |
<p><em>Click me.</em></p> |
|
|
72 |
</div> |
|
|
73 |
|
|
|
74 |
<script type="text/javascript"> |
|
|
75 |
YUI({base:"../../build/", timeout: 10000}).use("node", function(Y) { |
|
|
76 |
var node = Y.one('#demo p'); |
|
|
77 |
|
|
|
78 |
var onClick = function(e) { |
|
|
79 |
var tag = e.target.get('parentNode.tagName'); // e.target === node || #demo p em |
|
|
80 |
e.currentTarget.one('em').setContent('I am a child of ' + tag + '.'); // e.currentTarget === node |
|
|
81 |
}; |
|
|
82 |
|
|
|
83 |
node.on('click', onClick); |
|
|
84 |
}); |
|
|
85 |
|
|
|
86 |
</script> |
|
|
87 |
|
|
|
88 |
<!--END SOURCE CODE FOR EXAMPLE =============================== --> |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
</div> |
|
|
92 |
</div> |
|
|
93 |
</div> |
|
|
94 |
|
|
|
95 |
<h3>Setting up the HTML</h3> |
|
|
96 |
<p>First we need some HTML to work with.</p> |
|
|
97 |
<div id="syntax1" class="yui-syntax-highlight"><div class="numbers"><pre class="html4strict" style="font-family:monospace;"><ol><li class="li1"><div class="de1"><span class="sc2"><<span class="kw2">div</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">"demo"</span>></span></div></li><li class="li1"><div class="de1"> <span class="sc2"><<span class="kw2">p</span>><<span class="kw2">em</span>></span>Whose child am I?<span class="sc2"><<span class="sy0">/</span><span class="kw2">em</span>><<span class="sy0">/</span><span class="kw2">p</span>></span></div></li><li class="li1"><div class="de1"><span class="sc2"><<span class="sy0">/</span><span class="kw2">div</span>></span></div></li></ol></pre></div><div class="nonumbers"><pre class="html4strict" style="font-family:monospace;"><span class="sc2"><<span class="kw2">div</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">"demo"</span>></span> |
|
|
98 |
<span class="sc2"><<span class="kw2">p</span>><<span class="kw2">em</span>></span>Whose child am I?<span class="sc2"><<span class="sy0">/</span><span class="kw2">em</span>><<span class="sy0">/</span><span class="kw2">p</span>></span> |
|
|
99 |
<span class="sc2"><<span class="sy0">/</span><span class="kw2">div</span>></span></pre></div><textarea id="syntax1-plain"><div id="demo"> |
|
|
100 |
<p><em>Whose child am I?</em></p> |
|
|
101 |
</div></textarea></div> |
|
|
102 |
<h3>Geting a Node Instance</h3> |
|
|
103 |
<p>We will get our <code>Node</code> instance using the <code>one</code> method of our YUI instance which accepts either an HTMLElement or a Selector string.</p> |
|
|
104 |
<div id="syntax2" class="yui-syntax-highlight"><div class="numbers"><pre class="javascript" style="font-family:monospace;"><ol><li class="li1"><div class="de1"><span class="kw2">var</span> node <span class="sy0">=</span> Y.<span class="me1">one</span><span class="br0">(</span><span class="st0">'#demo p'</span><span class="br0">)</span><span class="sy0">;</span></div></li></ol></pre></div><div class="nonumbers"><pre class="javascript" style="font-family:monospace;"><span class="kw2">var</span> node <span class="sy0">=</span> Y.<span class="me1">one</span><span class="br0">(</span><span class="st0">'#demo p'</span><span class="br0">)</span><span class="sy0">;</span></pre></div><textarea id="syntax2-plain">var node = Y.one('#demo p');</textarea></div> |
|
|
105 |
<h3>Accessing Node Properties</h3> |
|
|
106 |
<p>The properties of a node can be accessed via its <code>set</code> and <code>get</code> methods.</p> |
|
|
107 |
<p>In most cases, simple type of properties (strings, numbers, booleans) pass directly to/from the underlying DOM node, however properties representing other DOM nodes return <code>Node</code> or <code>NodeList</code> instances.</p> |
|
|
108 |
<p>A <code>click</code> handler will allow us to update the content of our node with the <code>tagName</code> of its <code>parentNode</code>.</p> |
|
|
109 |
<p>Note that the <code>target</code> of the event object will vary depending on where you click. The <code>currentTarget</code> of the event will always be the element that assigned the listener (the <code>P</code> element in this case).</p> |
|
|
110 |
<div id="syntax3" class="yui-syntax-highlight"><div class="numbers"><pre class="javascript" style="font-family:monospace;"><ol><li class="li1"><div class="de1">onClick <span class="sy0">=</span> <span class="kw2">function</span><span class="br0">(</span>e<span class="br0">)</span> <span class="br0">{</span></div></li><li class="li1"><div class="de1"> <span class="kw2">var</span> tag <span class="sy0">=</span> e.<span class="me1">target</span>.<span class="me1">get</span><span class="br0">(</span><span class="st0">'parentNode.tagName'</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// e.target === node || #demo p em</span></div></li><li class="li1"><div class="de1"> e.<span class="me1">currentTarget</span>.<span class="me1">one</span><span class="br0">(</span><span class="st0">'em'</span><span class="br0">)</span>.<span class="me1">setContent</span><span class="br0">(</span><span class="st0">'I am a child of '</span> <span class="sy0">+</span> tag <span class="sy0">+</span> <span class="st0">'.'</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// e.currentTarget === node</span></div></li><li class="li1"><div class="de1"><span class="br0">}</span><span class="sy0">;</span></div></li></ol></pre></div><div class="nonumbers"><pre class="javascript" style="font-family:monospace;">onClick <span class="sy0">=</span> <span class="kw2">function</span><span class="br0">(</span>e<span class="br0">)</span> <span class="br0">{</span> |
|
|
111 |
<span class="kw2">var</span> tag <span class="sy0">=</span> e.<span class="me1">target</span>.<span class="me1">get</span><span class="br0">(</span><span class="st0">'parentNode.tagName'</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// e.target === node || #demo p em</span> |
|
|
112 |
e.<span class="me1">currentTarget</span>.<span class="me1">one</span><span class="br0">(</span><span class="st0">'em'</span><span class="br0">)</span>.<span class="me1">setContent</span><span class="br0">(</span><span class="st0">'I am a child of '</span> <span class="sy0">+</span> tag <span class="sy0">+</span> <span class="st0">'.'</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// e.currentTarget === node</span> |
|
|
113 |
<span class="br0">}</span><span class="sy0">;</span></pre></div><textarea id="syntax3-plain">onClick = function(e) { |
|
|
114 |
var tag = e.target.get('parentNode.tagName'); // e.target === node || #demo p em |
|
|
115 |
e.currentTarget.one('em').setContent('I am a child of ' + tag + '.'); // e.currentTarget === node |
|
|
116 |
};</textarea></div> |
|
|
117 |
<h3>Listening for Node Events</h3> |
|
|
118 |
<p>We will update the node when the <code>click</code> event fires by using the <code>on</code> method to subscribe to the event.</p> |
|
|
119 |
<div id="syntax4" class="yui-syntax-highlight"><div class="numbers"><pre class="javascript" style="font-family:monospace;"><ol><li class="li1"><div class="de1">node.<span class="me1">on</span><span class="br0">(</span><span class="st0">'click'</span><span class="sy0">,</span> onClick<span class="br0">)</span><span class="sy0">;</span></div></li></ol></pre></div><div class="nonumbers"><pre class="javascript" style="font-family:monospace;">node.<span class="me1">on</span><span class="br0">(</span><span class="st0">'click'</span><span class="sy0">,</span> onClick<span class="br0">)</span><span class="sy0">;</span></pre></div><textarea id="syntax4-plain">node.on('click', onClick);</textarea></div> |
|
|
120 |
<h3>Full Script Source</h3> |
|
|
121 |
<div id="syntax5" class="yui-syntax-highlight"><div class="numbers"><pre class="javascript" style="font-family:monospace;"><ol><li class="li1"><div class="de1">YUI<span class="br0">(</span><span class="br0">)</span>.<span class="kw2">use</span><span class="br0">(</span><span class="st0">'node'</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>Y<span class="br0">)</span> <span class="br0">{</span></div></li><li class="li1"><div class="de1"> <span class="kw2">var</span> node <span class="sy0">=</span> Y.<span class="me1">one</span><span class="br0">(</span><span class="st0">'#demo p'</span><span class="br0">)</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"> </div></li><li class="li1"><div class="de1"> <span class="kw2">var</span> onClick <span class="sy0">=</span> <span class="kw2">function</span><span class="br0">(</span>e<span class="br0">)</span> <span class="br0">{</span></div></li><li class="li2"><div class="de2"> <span class="kw2">var</span> tag <span class="sy0">=</span> e.<span class="me1">target</span>.<span class="me1">get</span><span class="br0">(</span><span class="st0">'parentNode.tagName'</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// e.target === node || #demo p em</span></div></li><li class="li1"><div class="de1"> e.<span class="me1">currentTarget</span>.<span class="me1">one</span>.<span class="me1">setContent</span><span class="br0">(</span><span class="st0">'I am a child of '</span> <span class="sy0">+</span> tag <span class="sy0">+</span> <span class="st0">'.'</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// e.currentTarget === node</span></div></li><li class="li1"><div class="de1"> <span class="br0">}</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"> </div></li><li class="li1"><div class="de1"> node.<span class="me1">on</span><span class="br0">(</span><span class="st0">'click'</span><span class="sy0">,</span> onClick<span class="br0">)</span><span class="sy0">;</span></div></li><li class="li2"><div class="de2"><span class="br0">}</span><span class="br0">)</span><span class="sy0">;</span></div></li></ol></pre></div><div class="nonumbers"><pre class="javascript" style="font-family:monospace;">YUI<span class="br0">(</span><span class="br0">)</span>.<span class="kw2">use</span><span class="br0">(</span><span class="st0">'node'</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>Y<span class="br0">)</span> <span class="br0">{</span> |
|
|
122 |
<span class="kw2">var</span> node <span class="sy0">=</span> Y.<span class="me1">one</span><span class="br0">(</span><span class="st0">'#demo p'</span><span class="br0">)</span><span class="sy0">;</span> |
|
|
123 |
|
|
|
124 |
<span class="kw2">var</span> onClick <span class="sy0">=</span> <span class="kw2">function</span><span class="br0">(</span>e<span class="br0">)</span> <span class="br0">{</span> |
|
|
125 |
<span class="kw2">var</span> tag <span class="sy0">=</span> e.<span class="me1">target</span>.<span class="me1">get</span><span class="br0">(</span><span class="st0">'parentNode.tagName'</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// e.target === node || #demo p em</span> |
|
|
126 |
e.<span class="me1">currentTarget</span>.<span class="me1">one</span>.<span class="me1">setContent</span><span class="br0">(</span><span class="st0">'I am a child of '</span> <span class="sy0">+</span> tag <span class="sy0">+</span> <span class="st0">'.'</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// e.currentTarget === node</span> |
|
|
127 |
<span class="br0">}</span><span class="sy0">;</span> |
|
|
128 |
|
|
|
129 |
node.<span class="me1">on</span><span class="br0">(</span><span class="st0">'click'</span><span class="sy0">,</span> onClick<span class="br0">)</span><span class="sy0">;</span> |
|
|
130 |
<span class="br0">}</span><span class="br0">)</span><span class="sy0">;</span></pre></div><textarea id="syntax5-plain">YUI().use('node', function(Y) { |
|
|
131 |
var node = Y.one('#demo p'); |
|
|
132 |
|
|
|
133 |
var onClick = function(e) { |
|
|
134 |
var tag = e.target.get('parentNode.tagName'); // e.target === node || #demo p em |
|
|
135 |
e.currentTarget.one.setContent('I am a child of ' + tag + '.'); // e.currentTarget === node |
|
|
136 |
}; |
|
|
137 |
|
|
|
138 |
node.on('click', onClick); |
|
|
139 |
});</textarea></div> </div> |
|
|
140 |
<div class="yui-u sidebar"> |
|
|
141 |
|
|
|
142 |
|
|
|
143 |
<div id="examples" class="mod box4"> |
|
|
144 |
<div class="hd"> |
|
|
145 |
<h4> |
|
|
146 |
Node Examples:</h4> |
|
|
147 |
</div> |
|
|
148 |
<div class="bd"> |
|
|
149 |
<ul> |
|
|
150 |
<li class='selected'><a href='../node/basic-node.html'>Node Basics</a></li><li><a href='../node/dom-node.html'>DOM Methods</a></li><li><a href='../node/event-node.html'>NodeList Events</a></li><li><a href='../node/nodelist.html'>NodeList</a></li><li><a href='../node/node-evt-delegation.html'>Delegating Node Events</a></li><li><a href='../node/node-screen.html'>Measuring the Window and Document</a></li><li><a href='../node/node-xy.html'>Node Positioning</a></li><li><a href='../node/node-style.html'>Node Styling</a></li><li><a href='../node/node-insert.html'>Adding Node Content</a></li><li><a href='../node-focusmanager/node-focusmanager-3.html'>Accessible Menu Button (included with examples for Focus Manager Node Plugin)</a></li><li><a href='../node-focusmanager/node-focusmanager-2.html'>Accessible TabView (included with examples for Focus Manager Node Plugin)</a></li><li><a href='../node-focusmanager/node-focusmanager-1.html'>Accessible Toolbar (included with examples for Focus Manager Node Plugin)</a></li><li><a href='../attribute/attribute-getset.html'>Attribute Getters, Setters and Validators (included with examples for Attribute)</a></li><li><a href='../dd/photo-browser.html'>Photo Browser (included with examples for Drag & Drop)</a></li> </ul> |
|
|
151 |
</div> |
|
|
152 |
</div> |
|
|
153 |
|
|
|
154 |
<div class="mod box4"> |
|
|
155 |
<div class="hd"> |
|
|
156 |
<h4>More Node Resources:</h4> |
|
|
157 |
</div> |
|
|
158 |
<div class="bd"> |
|
|
159 |
<ul> |
|
|
160 |
<!-- <li><a href="http://developer.yahoo.com/yui/node/">User's Guide</a> (external)</li> --> |
|
|
161 |
<li><a href="../../api/module_node.html">API Documentation</a></li></ul> |
|
|
162 |
</div> |
|
|
163 |
</div> |
|
|
164 |
</div> |
|
|
165 |
</div> |
|
|
166 |
|
|
|
167 |
</div> |
|
|
168 |
</div> |
|
|
169 |
|
|
|
170 |
|
|
|
171 |
<div class="yui-b toc3" id="tocWrapper"> |
|
|
172 |
<!-- TABLE OF CONTENTS --> |
|
|
173 |
<div id="toc"> |
|
|
174 |
|
|
|
175 |
<ul> |
|
|
176 |
<li class="sect first">YUI 3 Resources</li><li class="item"><a title="YUI 3 -- Yahoo! User Interface (YUI) Library" href="http://developer.yahoo.com/yui/3/">YUI 3 Web Site</a></li><li class="item"><a title="Examples of every YUI utility and control in action" href="../../examples/">YUI 3 Examples</a></li><li class="item"><a title="Instantly searchable API documentation for the entire YUI library." href="../../api/">YUI 3 API Docs</a></li><li class="item"><a title="YUI 3 Dependency Configurator -- configure your custom YUI implementation" href="http://developer.yahoo.com/yui/3/configurator">YUI 3 Dependency Configurator</a></li><li class="item"><a title="The YUI 3 Forum on YUILibrary.com" href="http://yuilibrary.com/forum/viewforum.php?f=15">YUI 3 Forums (external)</a></li><li class="item"><a title="Found a bug or a missing feature? Let us know on YUILibrary.com." href="http://developer.yahoo.com/yui/articles/reportingbugs/">Bug Reports/Feature Requests</a></li><li class="item"><a title="YUI is free and open, offered under a BSD license." href="http://developer.yahoo.com/yui/license.html">YUI License</a></li><li class="item"><a title="Download and fork the YUI project on GitHub" href="http://github.com/yui">YUI on Github</a></li><li class="item"><a title="The Yahoo! User Interface Blog" href="http://yuiblog.com">YUI Blog (external)</a></li><li class="sect">YUI 3 Core - Examples</li><li class="item"><a title="YUI Global Object - Functional Examples" href="../../examples/yui/index.html">YUI Global Object</a></li><li class="item"><a title="Event - Functional Examples" href="../../examples/event/index.html">Event</a></li><li class="selected "><a title="Node - Functional Examples" href="../../examples/node/index.html">Node</a></li><li class="sect">YUI 3 Component Infrastructure - Examples</li><li class="item"><a title="Attribute - Functional Examples" href="../../examples/attribute/index.html">Attribute</a></li><li class="item"><a title="Plugin - Functional Examples" href="../../examples/plugin/index.html">Plugin <img src='http://l.yimg.com/a/i/not/beta_1.gif'></a></li><li class="item"><a title="Widget - Functional Examples" href="../../examples/widget/index.html">Widget <img src='http://l.yimg.com/a/i/not/beta_1.gif'></a></li><li class="sect">YUI 3 Utilities - Examples</li><li class="item"><a title="Animation - Functional Examples" href="../../examples/anim/index.html">Animation</a></li><li class="item"><a title="AsyncQueue - Functional Examples" href="../../examples/async-queue/index.html">AsyncQueue</a></li><li class="item"><a title="Browser History - Functional Examples" href="../../examples/history/index.html">Browser History</a></li><li class="item"><a title="Cache - Functional Examples" href="../../examples/cache/index.html">Cache</a></li><li class="item"><a title="Cookie - Functional Examples" href="../../examples/cookie/index.html">Cookie</a></li><li class="item"><a title="DataSchema - Functional Examples" href="../../examples/dataschema/index.html">DataSchema <img src='http://l.yimg.com/a/i/not/beta_1.gif'></a></li><li class="item"><a title="DataSource - Functional Examples" href="../../examples/datasource/index.html">DataSource <img src='http://l.yimg.com/a/i/not/beta_1.gif'></a></li><li class="item"><a title="DataType - Functional Examples" href="../../examples/datatype/index.html">DataType <img src='http://l.yimg.com/a/i/not/beta_1.gif'></a></li><li class="item"><a title="Drag & Drop - Functional Examples" href="../../examples/dd/index.html">Drag & Drop</a></li><li class="item"><a title="Get - Functional Examples" href="../../examples/get/index.html">Get</a></li><li class="item"><a title="ImageLoader - Functional Examples" href="../../examples/imageloader/index.html">ImageLoader</a></li><li class="item"><a title="IO - Functional Examples" href="../../examples/io/index.html">IO</a></li><li class="item"><a title="JSON (JavaScript Object Notation) - Functional Examples" href="../../examples/json/index.html">JSON</a></li><li class="item"><a title="Stylesheet - Functional Examples" href="../../examples/stylesheet/index.html">Stylesheet</a></li><li class="sect">YUI 3 Widgets - Examples</li><li class="item"><a title="Overlay - Functional Examples" href="../../examples/overlay/index.html">Overlay <img src='http://l.yimg.com/a/i/not/beta_1.gif'></a></li><li class="item"><a title="Slider - Functional Examples" href="../../examples/slider/index.html">Slider <img src='http://l.yimg.com/a/i/not/beta_1.gif'></a></li><li class="sect">YUI 3 Node Plugins - Examples</li><li class="item"><a title="FocusManager Node Plugin - Functional Examples" href="../../examples/node-focusmanager/index.html">FocusManager Node Plugin <img src='http://l.yimg.com/a/i/not/beta_1.gif'></a></li><li class="item"><a title="MenuNav Node Plugin - Functional Examples" href="../../examples/node-menunav/index.html">MenuNav Node Plugin <img src='http://l.yimg.com/a/i/not/beta_1.gif'></a></li><li class="sect">YUI 3 CSS - Examples</li><li class="item"><a title="YUI CSS Reset - Functional Examples" href="../../examples/cssreset/index.html">CSS Reset</a></li><li class="item"><a title="YUI Fonts - Functional Examples" href="../../examples/cssfonts/index.html">CSS Fonts</a></li><li class="item"><a title="YUI Base - Functional Examples" href="../../examples/cssbase/index.html">CSS Base</a></li><li class="sect">YUI 3 Developer Tools - Examples</li><li class="item"><a title="Console - Functional Examples" href="../../examples/console/index.html">Console <img src='http://l.yimg.com/a/i/not/beta_1.gif'></a></li><li class="item"><a title="Console Filters Plugin- Functional Examples" href="../../examples/console-filters/index.html">Plugin.ConsoleFilters <img src='http://l.yimg.com/a/i/not/beta_1.gif'></a></li><li class="item"><a title="Profiler - Functional Examples" href="../../examples/profiler/index.html">Profiler</a></li><li class="item"><a title="Test - Functional Examples" href="../../examples/test/index.html">Test</a></li><li class="sect">Other Useful YUI 3 Resources</li><li class="item"><a title="Answers to Frequently Asked Questions about the YUI Library" href="http://developer.yahoo.com/yui/articles/faq/">YUI FAQ (external)</a></li><li class="item"><a title="Yahoo!'s philosophy of Graded Browser Support" href="http://developer.yahoo.com/yui/articles/gbs/">Graded Browser Support (external)</a></li><li class="item"><a title="Videos and podcasts from the YUI Team and from the Yahoo! frontend engineering community." href="http://developer.yahoo.com/yui/theater/">YUI Theater (external)</a></li></ul> |
|
|
177 |
</div> |
|
|
178 |
</div> |
|
|
179 |
</div><!--closes bd--> |
|
|
180 |
|
|
|
181 |
<div id="ft"> |
|
|
182 |
<p class="first">Copyright © 2009 Yahoo! Inc. All rights reserved.</p> |
|
|
183 |
<p><a href="http://privacy.yahoo.com/privacy/us/devel/index.html">Privacy Policy</a> - |
|
|
184 |
<a href="http://docs.yahoo.com/info/terms/">Terms of Service</a> - |
|
|
185 |
<a href="http://docs.yahoo.com/info/copyright/copyright.html">Copyright Policy</a> - |
|
|
186 |
<a href="http://careers.yahoo.com/">Job Openings</a></p> |
|
|
187 |
</div> |
|
|
188 |
</div> |
|
|
189 |
<script language="javascript"> |
|
|
190 |
var yuiConfig = {base:"../../build/", timeout: 10000}; |
|
|
191 |
</script> |
|
|
192 |
<script src="../../assets/syntax.js"></script> |
|
|
193 |
<script src="../../assets/dpSyntaxHighlighter.js"></script> |
|
|
194 |
<script language="javascript"> |
|
|
195 |
dp.SyntaxHighlighter.HighlightAll('code'); |
|
|
196 |
</script> |
|
|
197 |
</body> |
|
|
198 |
</html> |