|
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: The YUI Global Object: YUI Loader - Dynamically Adding YUI and External Modules</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-debug.js"></script> |
|
|
19 |
<!-- In this style block, we override some of the css styles for the calendar. |
|
|
20 |
We will use the 'insertBefore' config to make the loader insert the css |
|
|
21 |
node before our style block so that our styles will be applied in the |
|
|
22 |
correct order. --> |
|
|
23 |
<style type="text/css" id="styleoverrides"> |
|
|
24 |
#cal1Cont { |
|
|
25 |
background-color:#004C6D; |
|
|
26 |
} |
|
|
27 |
|
|
|
28 |
#cal1Cont div.calheader { |
|
|
29 |
cursor: move; |
|
|
30 |
} |
|
|
31 |
|
|
|
32 |
#cal1Cont .yui-calendar { |
|
|
33 |
width:auto; |
|
|
34 |
background-color:transparent; |
|
|
35 |
} |
|
|
36 |
|
|
|
37 |
#cal1Cont .yui-calendar tr, #cal1Cont .yui-calendar th { |
|
|
38 |
background-color:transparent; |
|
|
39 |
vertical-align:middle; |
|
|
40 |
text-transform:none; |
|
|
41 |
color:#fff; |
|
|
42 |
} |
|
|
43 |
|
|
|
44 |
#cal1Cont .yui-calendar a:hover { |
|
|
45 |
text-decoration:none; |
|
|
46 |
} |
|
|
47 |
|
|
|
48 |
#results { |
|
|
49 |
background-color:#8DD5E7; |
|
|
50 |
border:1px solid black; |
|
|
51 |
position: absolute; |
|
|
52 |
top: 15px; |
|
|
53 |
right: 5px; |
|
|
54 |
width: 300px; |
|
|
55 |
} |
|
|
56 |
</style> |
|
|
57 |
|
|
|
58 |
</head> |
|
|
59 |
<body id="yahoo-com" class=" yui-skin-sam"> |
|
|
60 |
<div id="custom-doc" class="yui-t2"> |
|
|
61 |
<div id="hd"> |
|
|
62 |
<div id="ygunav"> |
|
|
63 |
<p> |
|
|
64 |
<em> |
|
|
65 |
<a href="http://developer.yahoo.com/yui/3/">YUI 3.x Home</a> <i> - </i> |
|
|
66 |
</em> |
|
|
67 |
</p> |
|
|
68 |
<form action="http://search.yahoo.com/search" id="sitesearchform"> |
|
|
69 |
<input name="vs" type="hidden" value="developer.yahoo.com"> |
|
|
70 |
<input name="vs" type="hidden" value="yuiblog.com"> |
|
|
71 |
<div id="sitesearch"> |
|
|
72 |
<label for="searchinput">Site Search (YDN & YUIBlog): </label> |
|
|
73 |
<input type="text" id="searchinput" name="p"> |
|
|
74 |
<input type="submit" value="Search" id="searchsubmit" class="ygbt"> |
|
|
75 |
</div> |
|
|
76 |
</form> |
|
|
77 |
</div> |
|
|
78 |
<div id="ygma"><a href="../../"><img src="../../assets/logo.gif" border="0" width="200" height="93"></a></div> |
|
|
79 |
<div id="pagetitle"><h1>YUI Library Examples: The YUI Global Object: YUI Loader - Dynamically Adding YUI and External Modules</h1></div> |
|
|
80 |
</div> |
|
|
81 |
<div id="bd"> |
|
|
82 |
|
|
|
83 |
<div id="bar-note"><p><strong>Note:</strong> This is YUI 3.x. Looking for <a href="http://developer.yahoo.com/yui/">YUI 2.x</a>?</p></div> |
|
|
84 |
|
|
|
85 |
<div id="yui-main"> |
|
|
86 |
<div class="yui-b"> |
|
|
87 |
<div class="yui-ge"> |
|
|
88 |
<div class="yui-u first example" id="main"> |
|
|
89 |
|
|
|
90 |
<h2>The YUI Global Object: YUI Loader - Dynamically Adding YUI and External Modules</h2> |
|
|
91 |
|
|
|
92 |
<div id="example" class="promo"> |
|
|
93 |
<p> |
|
|
94 |
<p>This example uses the dynamic loading capability built into YUI to |
|
|
95 |
pull in additional components as needed. In addition, it demonstrates |
|
|
96 |
how to define external modules that can be loaded alongside YUI. |
|
|
97 |
</p> |
|
|
98 |
<p>This example works as follows:</p> |
|
|
99 |
<ol> |
|
|
100 |
<li>A <code>YUI</code> instance is created with a configuration object that defines parameters we need to dynamically load new modules.</li> |
|
|
101 |
<li><code>node</code> is used so that we can bind an event listener to a button. YUI will dynamically fetch <code>node</code> and its |
|
|
102 |
dependencies. By default, these dependencies will be fetched from the Yahoo! CDN and will be combined into a single file.</li> |
|
|
103 |
<li>A click listener is added to a button.</li> |
|
|
104 |
<li>When this button is clicked, YUI will dynamically fetch 3.x Drag & Drop and 2.x Calendar files. |
|
|
105 |
The CSS file will be fetched first; this helps prevent a flash of unstyled content when the |
|
|
106 |
Calendar Control is loaded. This file is inserted above a style block which contains our custom calendar styles (via a YUI config option) so that styles are applied in the correct order.</li> |
|
|
107 |
<li>A Calendar instance is created, and it is made draggable.</li> |
|
|
108 |
</ol> |
|
|
109 |
</p> |
|
|
110 |
|
|
|
111 |
<div class="module example-container "> |
|
|
112 |
<div class="hd exampleHd"> |
|
|
113 |
<p class="newWindowButton yui-skin-sam"> |
|
|
114 |
<a href="yui-loader-ext_clean.html" target="_blank">View example in new window.</a> |
|
|
115 |
</p> |
|
|
116 |
</div> <div id="example-canvas" class="bd"> |
|
|
117 |
|
|
|
118 |
|
|
|
119 |
<!--BEGIN SOURCE CODE FOR EXAMPLE =============================== --> |
|
|
120 |
|
|
|
121 |
|
|
|
122 |
<input id="button1" type="button" value="Click to load YUI Calendar" class="button" /> |
|
|
123 |
|
|
|
124 |
<div id="cal1Cont"></div> |
|
|
125 |
|
|
|
126 |
<script> |
|
|
127 |
|
|
|
128 |
YUI({base:"../../build/", timeout: 10000, insertBefore: 'styleoverrides', modules: { 'yui2-yde': { fullpath: 'http://yui.yahooapis.com/2.5.2/build/yahoo-dom-event/yahoo-dom-event.js' }, 'yui2-calendar': { fullpath: 'http://yui.yahooapis.com/2.5.2/build/calendar/calendar-min.js', requires: ['yui2-yde', 'yui2-calendarcss'] }, 'yui2-calendarcss': { fullpath: 'http://yui.yahooapis.com/2.5.2/build/calendar/assets/skins/sam/calendar.css', type: 'css' } }}).use('node', function(Y, result) { |
|
|
129 |
|
|
|
130 |
// The callback supplied to use() will be executed regardless of |
|
|
131 |
// whether the operation was successful or not. The second parameter |
|
|
132 |
// is a result object that has the status of the operation. We can |
|
|
133 |
// use this to try to recover from failures or timeouts. |
|
|
134 |
if (!result.success) { |
|
|
135 |
|
|
|
136 |
Y.log('Load failure: ' + result.msg, 'warn', 'Example'); |
|
|
137 |
|
|
|
138 |
} else { |
|
|
139 |
|
|
|
140 |
// Add a button click listener to load the calendar |
|
|
141 |
var handle = Y.on('click', function(e) { |
|
|
142 |
|
|
|
143 |
// dynamically load the 2.x calendar and 3.x drag and drop |
|
|
144 |
Y.use('dd-drag', 'yui2-calendar', function(Y) { |
|
|
145 |
var cal1 = new YAHOO.widget.Calendar('cal1', 'cal1Cont'); |
|
|
146 |
|
|
|
147 |
// Once the 2.x calendar renders, we will add 3.x drag |
|
|
148 |
// functionality to it. |
|
|
149 |
cal1.renderEvent.subscribe(function() { |
|
|
150 |
var dd = new Y.DD.Drag({ |
|
|
151 |
node: '#cal1Cont' |
|
|
152 |
}).addHandle('div.calheader'); |
|
|
153 |
}); |
|
|
154 |
cal1.render(); |
|
|
155 |
}); |
|
|
156 |
|
|
|
157 |
// Remove the button click listener so that we only try to |
|
|
158 |
// load the calendar control once. |
|
|
159 |
handle.detach(); |
|
|
160 |
|
|
|
161 |
}, '#button1'); |
|
|
162 |
} |
|
|
163 |
|
|
|
164 |
|
|
|
165 |
}); |
|
|
166 |
</script> |
|
|
167 |
|
|
|
168 |
<!--END SOURCE CODE FOR EXAMPLE =============================== --> |
|
|
169 |
|
|
|
170 |
|
|
|
171 |
</div> |
|
|
172 |
</div> |
|
|
173 |
</div> |
|
|
174 |
|
|
|
175 |
<h3>Creating your YUI instance</h3> |
|
|
176 |
<p>First, we need to create our YUI instance with the <code>node</code> module, so we can attach a listener to a button.</p> |
|
|
177 |
<textarea name="code" class="JScript">YUI().use('node', function(Y) { |
|
|
178 |
}); |
|
|
179 |
</textarea> |
|
|
180 |
|
|
|
181 |
<p>YUI accepts a configuration object when you create an instance. Your dynamic-loading options can be defined here.</p> |
|
|
182 |
<textarea name="code" class="JScript">YUI({ |
|
|
183 |
|
|
|
184 |
// We can specify a node that is the insertion point for all new nodes. This |
|
|
185 |
// is useful for making sure css rules are applied in the correct order. |
|
|
186 |
insertBefore: 'styleoverrides', |
|
|
187 |
|
|
|
188 |
// This lets you define one or more external modules that will be added to |
|
|
189 |
// the YUI metadata. You can define dependency relationships between your |
|
|
190 |
// modules and also between your modules and YUI modules. Here we are |
|
|
191 |
// defining 2.x calendar components as external modules. See |
|
|
192 |
// <a href="http://developer.yahoo.com/3.x/api/Loader.html#method_addModule"> |
|
|
193 |
// the API docs</a> for a complete list of module configuration options. |
|
|
194 |
modules: { |
|
|
195 |
'yui2-yde': { |
|
|
196 |
fullpath: "http://yui.yahooapis.com/2.5.2/build/yahoo-dom-event/yahoo-dom-event.js" |
|
|
197 |
}, |
|
|
198 |
'yui2-calendar': { |
|
|
199 |
fullpath: "http://yui.yahooapis.com/2.5.2/build/calendar/calendar-min.js", |
|
|
200 |
requires: ['yui2-yde', 'yui2-calendarcss'] |
|
|
201 |
}, |
|
|
202 |
'yui2-calendarcss': { |
|
|
203 |
fullpath: "http://yui.yahooapis.com/2.5.2/build/calendar/assets/skins/sam/calendar.css", |
|
|
204 |
type: 'css' |
|
|
205 |
} |
|
|
206 |
} |
|
|
207 |
|
|
|
208 |
}).use('node', function(Y) { |
|
|
209 |
}); |
|
|
210 |
</textarea> |
|
|
211 |
|
|
|
212 |
<h3>Creating the Calendar</h3> |
|
|
213 |
<p>Now that we have our core YUI instance in place, we add an event listener to |
|
|
214 |
a button that will dynamically load YUI 3.x Drag & Drop and YUI 2.x Calendar.</p> |
|
|
215 |
<textarea name="code" class="JScript">// The callback supplied to use() will be executed regardless of |
|
|
216 |
// whether the operation was successful or not. The second parameter |
|
|
217 |
// is a result object that has the status of the operation. We can |
|
|
218 |
// use this to try to recover from failures or timeouts. |
|
|
219 |
if (!result.success) { |
|
|
220 |
|
|
|
221 |
Y.log('Load failure: ' + result.msg, 'warn', 'Example'); |
|
|
222 |
|
|
|
223 |
} else { |
|
|
224 |
|
|
|
225 |
// Add a button click listener to load the calendar |
|
|
226 |
var handle = Y.on('click', function(e) { |
|
|
227 |
|
|
|
228 |
// dynamically load the 2.x calendar and 3.x drag and drop |
|
|
229 |
Y.use('dd-drag', 'yui2-calendar', function(Y) { |
|
|
230 |
var cal1 = new YAHOO.widget.Calendar('cal1', 'cal1Cont'); |
|
|
231 |
|
|
|
232 |
// Once the 2.x calendar renders, we will add 3.x drag |
|
|
233 |
// functionality t0 it. |
|
|
234 |
cal1.renderEvent.subscribe(function() { |
|
|
235 |
var dd = new Y.DD.Drag({ |
|
|
236 |
node: '#cal1Cont' |
|
|
237 |
}).addHandle('div.calheader'); |
|
|
238 |
}); |
|
|
239 |
cal1.render(); |
|
|
240 |
}); |
|
|
241 |
|
|
|
242 |
// Remove the button click listener so that we only try to |
|
|
243 |
// load the calendar control once. |
|
|
244 |
handle.detach(); |
|
|
245 |
|
|
|
246 |
}, '#button1'); |
|
|
247 |
} |
|
|
248 |
</textarea> |
|
|
249 |
|
|
|
250 |
<h3>Full source</h3> |
|
|
251 |
<textarea name="code" class="JScript"><input id="button1" type="button" value="Click to load YUI Calendar" class="button" /> |
|
|
252 |
|
|
|
253 |
<div id="cal1Cont"></div> |
|
|
254 |
|
|
|
255 |
<script> |
|
|
256 |
|
|
|
257 |
YUI({ |
|
|
258 |
|
|
|
259 |
// We can specify a node that is the insertion point for all new nodes. This |
|
|
260 |
// is useful for making sure css rules are applied in the correct order. |
|
|
261 |
insertBefore: 'styleoverrides', |
|
|
262 |
|
|
|
263 |
// This lets you define one or more external modules that will be added to |
|
|
264 |
// the YUI metadata. You can define dependency relationships between your |
|
|
265 |
// modules and also between your modules and YUI modules. Here we are |
|
|
266 |
// defining 2.x calendar components as external modules. See |
|
|
267 |
// <a href="http://developer.yahoo.com/3.x/api/Loader.html#method_addModule"> |
|
|
268 |
// the API docs</a> for a complete list of module configuration options. |
|
|
269 |
modules: { |
|
|
270 |
'yui2-yde': { |
|
|
271 |
fullpath: "http://yui.yahooapis.com/2.5.2/build/yahoo-dom-event/yahoo-dom-event.js" |
|
|
272 |
}, |
|
|
273 |
'yui2-calendar': { |
|
|
274 |
fullpath: "http://yui.yahooapis.com/2.5.2/build/calendar/calendar-min.js", |
|
|
275 |
requires: ['yui2-yde', 'yui2-calendarcss'] |
|
|
276 |
}, |
|
|
277 |
'yui2-calendarcss': { |
|
|
278 |
fullpath: "http://yui.yahooapis.com/2.5.2/build/calendar/assets/skins/sam/calendar.css", |
|
|
279 |
type: 'css' |
|
|
280 |
} |
|
|
281 |
}, |
|
|
282 |
|
|
|
283 |
// Specifies whether or not optional dependencies should be loaded |
|
|
284 |
// loadOptional: true, |
|
|
285 |
|
|
|
286 |
// By default, the minified versions of the files are loaded. We can specify |
|
|
287 |
// 'debug' to load versions with log statements, or 'raw' to load a version |
|
|
288 |
// that isn't minified, but has log statements stripped. |
|
|
289 |
filter: 'debug', |
|
|
290 |
|
|
|
291 |
// Give up if any single node request takes more than 10 seconds. |
|
|
292 |
timeout: 10000 |
|
|
293 |
|
|
|
294 |
// 3.x node will be dynamically loaded so we can work with DOM elements |
|
|
295 |
}).use('node', function(Y, result) { |
|
|
296 |
|
|
|
297 |
// The callback supplied to use() will be executed regardless of |
|
|
298 |
// whether the operation was successful or not. The second parameter |
|
|
299 |
// is a result object that has the status of the operation. We can |
|
|
300 |
// use this to try to recover from failures or timeouts. |
|
|
301 |
if (!result.success) { |
|
|
302 |
|
|
|
303 |
Y.log('Load failure: ' + result.msg, 'warn', 'Example'); |
|
|
304 |
|
|
|
305 |
} else { |
|
|
306 |
|
|
|
307 |
// Add a button click listener to load the calendar |
|
|
308 |
var handle = Y.on('click', function(e) { |
|
|
309 |
|
|
|
310 |
// dynamically load the 2.x calendar and 3.x drag and drop |
|
|
311 |
Y.use('dd-drag', 'yui2-calendar', function(Y) { |
|
|
312 |
var cal1 = new YAHOO.widget.Calendar('cal1', 'cal1Cont'); |
|
|
313 |
|
|
|
314 |
// Once the 2.x calendar renders, we will add 3.x drag |
|
|
315 |
// functionality to it. |
|
|
316 |
cal1.renderEvent.subscribe(function() { |
|
|
317 |
var dd = new Y.DD.Drag({ |
|
|
318 |
node: '#cal1Cont' |
|
|
319 |
}).addHandle('div.calheader'); |
|
|
320 |
}); |
|
|
321 |
cal1.render(); |
|
|
322 |
}); |
|
|
323 |
|
|
|
324 |
// Remove the button click listener so that we only try to |
|
|
325 |
// load the calendar control once. |
|
|
326 |
handle.detach(); |
|
|
327 |
|
|
|
328 |
}, '#button1'); |
|
|
329 |
} |
|
|
330 |
|
|
|
331 |
|
|
|
332 |
}); |
|
|
333 |
</script> |
|
|
334 |
|
|
|
335 |
</textarea> |
|
|
336 |
|
|
|
337 |
</div> |
|
|
338 |
<div class="yui-u sidebar"> |
|
|
339 |
|
|
|
340 |
|
|
|
341 |
<div id="examples" class="mod box4"> |
|
|
342 |
<div class="hd"> |
|
|
343 |
<h4> |
|
|
344 |
The YUI Global Object Examples:</h4> |
|
|
345 |
</div> |
|
|
346 |
<div class="bd"> |
|
|
347 |
<ul> |
|
|
348 |
<li><a href='../yui/yui-core.html'>YUI Core</a></li><li><a href='../yui/yui-more.html'>Load All Modules</a></li><li><a href='../yui/yui-multi.html'>Multiple Instances</a></li><li><a href='../yui/yui-compat.html'>YUI 2.x and 3.x</a></li><li class='selected'><a href='../yui/yui-loader-ext.html'>YUI Loader - Dynamically Adding YUI and External Modules</a></li><li><a href='../yui/yui-extend.html'>Create Class Hierarchies with <code>extend</code></a></li><li><a href='../yui/yui-augment.html'>Compose Classes of Objects with <code>augment</code></a></li><li><a href='../yui/yui-mix.html'>Add Behaviors to Objects with <code>mix</code></a></li><li><a href='../yui/yui-merge.html'>Combine Data Sets with <code>merge</code></a></li><li><a href='../yui/yui-isa.html'>Check Data Types with <code>Lang</code></a></li><li><a href='../yui/yui-ua.html'>Browser Detection with <code>UA</code></a></li> </ul> |
|
|
349 |
</div> |
|
|
350 |
</div> |
|
|
351 |
|
|
|
352 |
<div class="mod box4"> |
|
|
353 |
<div class="hd"> |
|
|
354 |
<h4>More The YUI Global Object Resources:</h4> |
|
|
355 |
</div> |
|
|
356 |
<div class="bd"> |
|
|
357 |
<ul> |
|
|
358 |
<!-- <li><a href="http://developer.yahoo.com/yui/yui/">User's Guide</a> (external)</li> --> |
|
|
359 |
<li><a href="../../api/module_yui.html">API Documentation</a></li> |
|
|
360 |
</ul> |
|
|
361 |
</div> |
|
|
362 |
</div> |
|
|
363 |
</div> |
|
|
364 |
</div> |
|
|
365 |
|
|
|
366 |
</div> |
|
|
367 |
</div> |
|
|
368 |
|
|
|
369 |
|
|
|
370 |
<div class="yui-b toc3" id="tocWrapper"> |
|
|
371 |
<!-- TABLE OF CONTENTS --> |
|
|
372 |
<div id="toc"> |
|
|
373 |
|
|
|
374 |
<ul> |
|
|
375 |
<li class="sect first">YUI 3.x Project</li><li class="item"><a title="The Yahoo! User Interface (YUI) Library, 3.x Branch, " href="http://developer.yahoo.com/yui/3/">YUI 3 Web Site (external)</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="The YUI Library can be downloaded from SourceForge" href="http://sourceforge.net/projects/yui/">YUI 3 on Sourceforge (external)</a></li><li class="item"><a title="YUI is free and open, offered under a BSD license." href="http://developer.yahoo.com/yui/3/license.html">YUI License (external)</a></li><li class="sect">YUI 3 Core - Examples</li><li class="selected "><a title="YUI (Global Prerequisite) - Functional Examples" href="../../examples/yui/index.html">YUI (Global Prerequisite)</a></li><li class="item"><a title="Event - Functional Examples" href="../../examples/event/index.html">Event</a></li><li class="item"><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</a></li><li class="item"><a title="Widget - Functional Examples" href="../../examples/widget/index.html">Widget</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="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</a></li><li class="item"><a title="DataSource - Functional Examples" href="../../examples/datasource/index.html">DataSource</a></li><li class="item"><a title="DataType - Functional Examples" href="../../examples/datatype/index.html">DataType</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="History - Functional Examples" href="../../examples/history/index.html">History</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="Queue - Functional Examples" href="../../examples/queue/index.html">Queue</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</a></li><li class="item"><a title="Slider - Functional Examples" href="../../examples/slider/index.html">Slider</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</a></li><li class="item"><a title="MenuNav Node Plugin - Functional Examples" href="../../examples/node-menunav/index.html">MenuNav Node Plugin</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</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">The YUI Community</li><li class="item"><a title="The Yahoo! User Interface Blog" href="http://yuiblog.com">YUI Blog (external)</a></li><li class="item"><a title="The Yahoo! Group YDN-JavaScript hosts the YUI community forum" href="http://tech.groups.yahoo.com/group/ydn-javascript/">YUI Forum (external)</a></li><li class="item"><a title="The Yahoo! Group yui3 is dedicated to the 3.x branch of the Yahoo! User Interface (YUI) Library." href="http://tech.groups.yahoo.com/group/yui3/">YUI 3 Forum (external)</a></li><li class="item"><a title="YUI is used by Yahoo! and by hundreds of other sites, including many you know and love." href="/yui/poweredby/">YUI Sightings (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><li class="sect">YUI Articles on the YUI Website</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="Reporting Bugs and Making Feature Requests for YUI Components" href="http://developer.yahoo.com/yui/articles/reportingbugs/">Bug Reports/Feature Requests (external)</a></li><li class="item"><a title="Serve YUI source files from Yahoo! -- free, fast, and simple" href="http://developer.yahoo.com/yui/3/articles/hosting/">Serving YUI Files from Yahoo! (external)</a></li></ul> |
|
|
376 |
</div> |
|
|
377 |
</div> |
|
|
378 |
</div><!--closes bd--> |
|
|
379 |
|
|
|
380 |
<div id="ft"> |
|
|
381 |
<p class="first">Copyright © 2009 Yahoo! Inc. All rights reserved.</p> |
|
|
382 |
<p><a href="http://privacy.yahoo.com/privacy/us/devel/index.html">Privacy Policy</a> - |
|
|
383 |
<a href="http://docs.yahoo.com/info/terms/">Terms of Service</a> - |
|
|
384 |
<a href="http://docs.yahoo.com/info/copyright/copyright.html">Copyright Policy</a> - |
|
|
385 |
<a href="http://careers.yahoo.com/">Job Openings</a></p> |
|
|
386 |
</div> |
|
|
387 |
</div> |
|
|
388 |
<script src="../../assets/dpSyntaxHighlighter.js"></script> |
|
|
389 |
<script language="javascript"> |
|
|
390 |
dp.SyntaxHighlighter.HighlightAll('code'); |
|
|
391 |
</script> |
|
|
392 |
</body> |
|
|
393 |
</html> |