|
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: IO: Cross-Domain JSON Transaction — Retrieving a News Feed from Yahoo! Pipes</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 |
<style type="text/css"> |
|
|
20 |
#output li {margin-left:2em;} |
|
|
21 |
#output { background-color:#FFFFFF; border:1px dotted #666666; padding:1em; margin-top:1em;} |
|
|
22 |
</style> |
|
|
23 |
</head> |
|
|
24 |
<body id="yahoo-com" class=" yui-skin-sam"> |
|
|
25 |
<div id="custom-doc" class="yui-t2"> |
|
|
26 |
<div id="hd"> |
|
|
27 |
<div id="ygunav"> |
|
|
28 |
<p> |
|
|
29 |
<em> |
|
|
30 |
<a href="http://developer.yahoo.com/yui/3/">YUI 3.x Home</a> <i> - </i> |
|
|
31 |
</em> |
|
|
32 |
</p> |
|
|
33 |
<form action="http://search.yahoo.com/search" id="sitesearchform"> |
|
|
34 |
<input name="vs" type="hidden" value="developer.yahoo.com"> |
|
|
35 |
<input name="vs" type="hidden" value="yuiblog.com"> |
|
|
36 |
<div id="sitesearch"> |
|
|
37 |
<label for="searchinput">Site Search (YDN & YUIBlog): </label> |
|
|
38 |
<input type="text" id="searchinput" name="p"> |
|
|
39 |
<input type="submit" value="Search" id="searchsubmit" class="ygbt"> |
|
|
40 |
</div> |
|
|
41 |
</form> |
|
|
42 |
</div> |
|
|
43 |
<div id="ygma"><a href="../../"><img src="../../assets/logo.gif" border="0" width="200" height="93"></a></div> |
|
|
44 |
<div id="pagetitle"><h1>YUI Library Examples: IO: Cross-Domain JSON Transaction — Retrieving a News Feed from Yahoo! Pipes</h1></div> |
|
|
45 |
</div> |
|
|
46 |
<div id="bd"> |
|
|
47 |
|
|
|
48 |
<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> |
|
|
49 |
|
|
|
50 |
<div id="yui-main"> |
|
|
51 |
<div class="yui-b"> |
|
|
52 |
<div class="yui-ge"> |
|
|
53 |
<div class="yui-u first example" id="main"> |
|
|
54 |
|
|
|
55 |
<h2>IO: Cross-Domain JSON Transaction — Retrieving a News Feed from Yahoo! Pipes</h2> |
|
|
56 |
|
|
|
57 |
<div id="example" class="promo"> |
|
|
58 |
<p> |
|
|
59 |
<p>In the example below, IO is employed to make a cross-domain request to <a href="http://pipes.yahoo.com">Yahoo! Pipes</a>. The output of the Pipe is an RSS-style feed formatted as JSON. We pass that output to the JSON Utility's <code>parse</code> method for sanitization and then display the contents of the Pipe in a list.</p> |
|
|
60 |
|
|
|
61 |
<p>The cross-domain approach obviates the need for a server-side proxy, making it faster. And the use of IO in place of a script node allows us to retrieve the JSON data as a string and execute <code>JSON.parse</code> against it, making it safer to use; a script node would evaluate immediately in the global scope as soon as it was loaded.</p> </p> |
|
|
62 |
|
|
|
63 |
<div class="module example-container "> |
|
|
64 |
<div class="hd exampleHd"> |
|
|
65 |
<p class="newWindowButton yui-skin-sam"> |
|
|
66 |
<a href="io-xdr_clean.html" target="_blank">View example in new window.</a> |
|
|
67 |
</p> |
|
|
68 |
</div> <div id="example-canvas" class="bd"> |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
<!--BEGIN SOURCE CODE FOR EXAMPLE =============================== --> |
|
|
72 |
|
|
|
73 |
<button id="fetch" disabled="disabled">Load JSON RSS news feed from Yahoo! Pipes.</button> |
|
|
74 |
|
|
|
75 |
<div id="output"> |
|
|
76 |
<ul> |
|
|
77 |
<li>Content from Yahoo! Pipes feed will display here.</li> |
|
|
78 |
</ul> |
|
|
79 |
</div> |
|
|
80 |
|
|
|
81 |
<script language="javascript"> |
|
|
82 |
|
|
|
83 |
YUI({base:"../../build/", timeout: 10000}).use("io", "substitute", "json-parse", |
|
|
84 |
|
|
|
85 |
function(Y) { |
|
|
86 |
|
|
|
87 |
//Data fetched will be displayed in a UL in the |
|
|
88 |
//element #output: |
|
|
89 |
var output = Y.Node.get("#output ul"); |
|
|
90 |
|
|
|
91 |
//Configure the cross-domain protocol: |
|
|
92 |
var xdrConfig = { |
|
|
93 |
id:'flash', //We'll reference this id in the xdr configuration of our transaction. |
|
|
94 |
yid: Y.id, //The yid provides a link from the Flash-based XDR engine |
|
|
95 |
//and the YUI instance. |
|
|
96 |
src:'../../build/io/io.swf?t=' + new Date().valueOf().toString() //Relative path to the .swf file from the current page. |
|
|
97 |
}; |
|
|
98 |
Y.io.transport(xdrConfig); |
|
|
99 |
|
|
|
100 |
//Event handler called when the transaction begins: |
|
|
101 |
var handleStart = function(id, a) { |
|
|
102 |
Y.log("io:start firing.", "info", "example"); |
|
|
103 |
output.set("innerHTML", "<li>Loading news stories via Yahoo! Pipes feed...</li>"); |
|
|
104 |
} |
|
|
105 |
|
|
|
106 |
//Event handler for the success event -- use this handler to write the fetched |
|
|
107 |
//RSS items to the page. |
|
|
108 |
var handleSuccess = function(id, o, a) { |
|
|
109 |
|
|
|
110 |
//We use JSON.parse to sanitize the JSON (as opposed to simply eval'ing |
|
|
111 |
//it into the page): |
|
|
112 |
var oRSS = Y.JSON.parse(o.responseText); |
|
|
113 |
|
|
|
114 |
//From here, we simply access the JSON data from where it's provided |
|
|
115 |
//in the Yahoo! Pipes output: |
|
|
116 |
if (oRSS && oRSS.count) { |
|
|
117 |
|
|
|
118 |
var s = "<!--begin news stories fetched via Yahoo! Pipes-->", |
|
|
119 |
//t in this case is our simple template; this is fed to |
|
|
120 |
//Y.Lang.substitute as we loop through RSS items: |
|
|
121 |
t = "<li><a href='{link}'>{title}</a>, {pubDate}</li>"; |
|
|
122 |
|
|
|
123 |
for (var i=0; i<oRSS.count; i++) { |
|
|
124 |
s += Y.Lang.substitute(t, oRSS.value.items[i]); |
|
|
125 |
} |
|
|
126 |
|
|
|
127 |
//Output the string to the page: |
|
|
128 |
output.set("innerHTML", s); |
|
|
129 |
output.addClass("yui-null"); |
|
|
130 |
|
|
|
131 |
} else { |
|
|
132 |
//No news stories were found in the feed. |
|
|
133 |
var s = "<li>The RSS feed did not return any items.</li>"; |
|
|
134 |
} |
|
|
135 |
} |
|
|
136 |
|
|
|
137 |
//In the event that the HTTP status returned is > 399, a |
|
|
138 |
//failure is reported and this function is called: |
|
|
139 |
var handleFailure = function(id, o, a) { |
|
|
140 |
Y.log("ERROR " + id + " " + a, "info", "example"); |
|
|
141 |
} |
|
|
142 |
|
|
|
143 |
//With all the aparatus in place, we can now configure our |
|
|
144 |
//io call. |
|
|
145 |
var cfg = { |
|
|
146 |
method: "GET", |
|
|
147 |
xdr: { |
|
|
148 |
use:'flash' //This is the xdrConfig id we referenced above. |
|
|
149 |
}, |
|
|
150 |
on: { |
|
|
151 |
//Our event handlers previously defined: |
|
|
152 |
start: handleStart, |
|
|
153 |
success: handleSuccess, |
|
|
154 |
failure: handleFailure |
|
|
155 |
} |
|
|
156 |
}; |
|
|
157 |
|
|
|
158 |
//Wire the buttton to a click handler to fire our request each |
|
|
159 |
//time the button is clicked: |
|
|
160 |
var handleClick = function(o) { |
|
|
161 |
Y.log("Click detected; beginning io request to Yahoo! Pipes.", "info", "example"); |
|
|
162 |
var obj = Y.io( |
|
|
163 |
//this is a specific Pipes feed, populated with cycling news: |
|
|
164 |
"http://pipes.yahooapis.com/pipes/pipe.run?_id=giWz8Vc33BG6rQEQo_NLYQ&_render=json", |
|
|
165 |
cfg |
|
|
166 |
); |
|
|
167 |
} |
|
|
168 |
|
|
|
169 |
//add the clickHandler as soon as the xdr Flash module has |
|
|
170 |
//loaded: |
|
|
171 |
Y.on('io:xdrReady', function() { |
|
|
172 |
var fetch = Y.Node.get("#fetch"); |
|
|
173 |
fetch.set("disabled", false); |
|
|
174 |
Y.on("click", handleClick, fetch); |
|
|
175 |
}); |
|
|
176 |
|
|
|
177 |
} |
|
|
178 |
); |
|
|
179 |
</script> |
|
|
180 |
<!--END SOURCE CODE FOR EXAMPLE =============================== --> |
|
|
181 |
|
|
|
182 |
|
|
|
183 |
</div> |
|
|
184 |
</div> |
|
|
185 |
</div> |
|
|
186 |
|
|
|
187 |
<h2 class="first">Implementing a Simple Cross-Domain Request for JSON Data</h2> |
|
|
188 |
|
|
|
189 |
<p>In this example, we begin with a YUI instance that loads the IO and JSON modules:</p> |
|
|
190 |
|
|
|
191 |
<textarea name="code" class="JScript" cols="60" rows="1"> |
|
|
192 |
//Create a YUI instance including support for IO and JSON modules: |
|
|
193 |
YUI({base:"../../build/", timeout: 10000}).use("io-xdr", "substitute", "json-parse", function(Y) { |
|
|
194 |
// Y is the YUI instance. |
|
|
195 |
// The rest of the following code is encapsulated in this |
|
|
196 |
// anonymous function. |
|
|
197 |
} ); |
|
|
198 |
</textarea> |
|
|
199 |
<p>We'll also get a Node reference to the container we'll be using to output the data we retrieve:</p> |
|
|
200 |
|
|
|
201 |
<textarea name="code" class="JScript" cols="60" rows="1">//Data fetched will be displayed in a UL in the |
|
|
202 |
//element #output: |
|
|
203 |
var output = Y.Node.get("#output ul");</textarea> |
|
|
204 |
|
|
|
205 |
<p>Next, we configure IO's cross-domain interface for this YUI instance. Flash is the underlying mechansim used here. Be sure to configure the <code>src</code> property to point to your <code>IO.swf</code> file.</p> |
|
|
206 |
|
|
|
207 |
<textarea name="code" class="JScript" cols="60" rows="1">//Configure the cross-domain protocol: |
|
|
208 |
var xdrConfig = { |
|
|
209 |
id:'flash', //We'll reference this id in the xdr configuration of our transaction. |
|
|
210 |
yid: Y.id, //The yid provides a link from the Flash-based XDR engine |
|
|
211 |
//and the YUI instance. |
|
|
212 |
src:'../../build/io/IO.swf?t=' + new Date().valueOf().toString() //Relative path to the .swf file from the current page. |
|
|
213 |
}; |
|
|
214 |
Y.io.transport(xdrConfig);</textarea> |
|
|
215 |
|
|
|
216 |
<p>The configuration for our specific IO transaction contains a reference to the <code>xdr</code> configuration we created above and specifies that there will not be a need to process the response as XML (we're getting JSON instead):</p> |
|
|
217 |
|
|
|
218 |
<textarea name="code" class="JScript" cols="60" rows="1">var cfg = { |
|
|
219 |
method: "GET", |
|
|
220 |
xdr: { |
|
|
221 |
use:'flash', //This is the xdrConfig id we referenced above. |
|
|
222 |
responseXML:false //we're using JSON -- marginally faster, and |
|
|
223 |
//supported by the Pipes API |
|
|
224 |
}, |
|
|
225 |
on: { |
|
|
226 |
//Our event handlers previously defined: |
|
|
227 |
start: handleStart, |
|
|
228 |
success: handleSuccess, |
|
|
229 |
failure: handleFailure |
|
|
230 |
} |
|
|
231 |
};</textarea> |
|
|
232 |
|
|
|
233 |
<p>The final step is to make the request:</p> |
|
|
234 |
|
|
|
235 |
<textarea name="code" class="JScript" cols="60" rows="1">var obj = Y.io( |
|
|
236 |
//this is a specific Pipes feed, populated with cycling news: |
|
|
237 |
"http://pipes.yahooapis.com/pipes/pipe.run?_id=giWz8Vc33BG6rQEQo_NLYQ&_render=json", |
|
|
238 |
cfg |
|
|
239 |
);</textarea> |
|
|
240 |
|
|
|
241 |
<h3>Full Script</h3> |
|
|
242 |
|
|
|
243 |
<p>The full script source for this example is as follows:</p> |
|
|
244 |
|
|
|
245 |
<textarea name="code" class="JScript" cols="60" rows="1"> |
|
|
246 |
YUI({base:"../../build/", timeout: 10000}).use("io-xdr", "substitute", "json-parse", |
|
|
247 |
|
|
|
248 |
function(Y) { |
|
|
249 |
|
|
|
250 |
//Data fetched will be displayed in a UL in the |
|
|
251 |
//element #output: |
|
|
252 |
var output = Y.Node.get("#output ul"); |
|
|
253 |
|
|
|
254 |
//Configure the cross-domain protocol: |
|
|
255 |
var xdrConfig = { |
|
|
256 |
id:'flash', //We'll reference this id in the xdr configuration of our transaction. |
|
|
257 |
yid: Y.id, //The yid provides a link from the Flash-based XDR engine |
|
|
258 |
//and the YUI instance. |
|
|
259 |
src:'../../build/io/IO.swf' //Relative path to the .swf file from the current page. |
|
|
260 |
}; |
|
|
261 |
Y.io.transport(xdrConfig); |
|
|
262 |
|
|
|
263 |
//Event handler called when the transaction begins: |
|
|
264 |
var handleStart = function(id, a) { |
|
|
265 |
Y.log("io:start firing.", "info", "example"); |
|
|
266 |
output.set("innerHTML", "<li>Loading news stories via Yahoo! Pipes feed...</li>"); |
|
|
267 |
} |
|
|
268 |
|
|
|
269 |
//Event handler for the success event -- use this handler to write the fetched |
|
|
270 |
//RSS items to the page. |
|
|
271 |
var handleSuccess = function(id, o, a) { |
|
|
272 |
|
|
|
273 |
//We use JSON.parse to sanitize the JSON (as opposed to simply eval'ing |
|
|
274 |
//it into the page): |
|
|
275 |
var oRSS = Y.JSON.parse(o.responseText); |
|
|
276 |
|
|
|
277 |
//From here, we simply access the JSON data from where it's provided |
|
|
278 |
//in the Yahoo! Pipes output: |
|
|
279 |
if (oRSS && oRSS.count) { |
|
|
280 |
|
|
|
281 |
var s = "<!--begin news stories fetched via Yahoo! Pipes-->", |
|
|
282 |
//t in this case is our simple template; this is fed to |
|
|
283 |
//Y.Lang.substitute as we loop through RSS items: |
|
|
284 |
t = "<li><a href='{link}'>{title}</a>, {pubDate}</li>"; |
|
|
285 |
|
|
|
286 |
for (var i=0; i<oRSS.count; i++) { |
|
|
287 |
s += Y.Lang.substitute(t, oRSS.value.items[i]); |
|
|
288 |
} |
|
|
289 |
|
|
|
290 |
//Output the string to the page: |
|
|
291 |
output.set("innerHTML", s); |
|
|
292 |
|
|
|
293 |
} else { |
|
|
294 |
//No news stories were found in the feed. |
|
|
295 |
var s = "<li>The RSS feed did not return any items.</li>"; |
|
|
296 |
} |
|
|
297 |
} |
|
|
298 |
|
|
|
299 |
//In the event that the HTTP status returned is > 399, a |
|
|
300 |
//failure is reported and this function is called: |
|
|
301 |
var handleFailure = function(id, o, a) { |
|
|
302 |
Y.log("ERROR " + id + " " + a, "info", "example"); |
|
|
303 |
} |
|
|
304 |
|
|
|
305 |
//With all the aparatus in place, we can now configure our |
|
|
306 |
//io call. |
|
|
307 |
var cfg = { |
|
|
308 |
method: "GET", |
|
|
309 |
xdr: { |
|
|
310 |
use:'flash', //This is the xdrConfig id we referenced above. |
|
|
311 |
responseXML:false //we're using JSON -- marginally faster, and |
|
|
312 |
//supported by the Pipes API |
|
|
313 |
}, |
|
|
314 |
on: { |
|
|
315 |
//Our event handlers previously defined: |
|
|
316 |
start: handleStart, |
|
|
317 |
success: handleSuccess, |
|
|
318 |
failure: handleFailure |
|
|
319 |
} |
|
|
320 |
}; |
|
|
321 |
|
|
|
322 |
//Wire the buttton to a click handler to fire our request each |
|
|
323 |
//time the button is clicked: |
|
|
324 |
var handleClick = function(o) { |
|
|
325 |
Y.log("Click detected; beginning io request to Yahoo! Pipes.", "info", "example"); |
|
|
326 |
var obj = Y.io( |
|
|
327 |
//this is a specific Pipes feed, populated with cycling news: |
|
|
328 |
"http://pipes.yahooapis.com/pipes/pipe.run?_id=giWz8Vc33BG6rQEQo_NLYQ&_render=json", |
|
|
329 |
cfg |
|
|
330 |
); |
|
|
331 |
} |
|
|
332 |
|
|
|
333 |
//add the clickHandler as soon as the xdr Flash module has |
|
|
334 |
//loaded: |
|
|
335 |
Y.on('io:xdrReady', function() { |
|
|
336 |
var fetch = Y.Node.get("#fetch"); |
|
|
337 |
fetch.set("disabled", false); |
|
|
338 |
Y.on("click", handleClick, fetch); |
|
|
339 |
}); |
|
|
340 |
} |
|
|
341 |
); |
|
|
342 |
</textarea> </div> |
|
|
343 |
<div class="yui-u sidebar"> |
|
|
344 |
|
|
|
345 |
|
|
|
346 |
<div id="examples" class="mod box4"> |
|
|
347 |
<div class="hd"> |
|
|
348 |
<h4> |
|
|
349 |
IO Examples:</h4> |
|
|
350 |
</div> |
|
|
351 |
<div class="bd"> |
|
|
352 |
<ul> |
|
|
353 |
<li><a href='../io/io-get.html'>GET Transaction</a></li><li><a href='../io/io-post.html'>POST Transaction</a></li><li><a href='../io/io-weather.html'>XML Transaction — Retrieving a Yahoo! Weather RSS (XML) Feed via a Server-Side Proxy</a></li><li class='selected'><a href='../io/io-xdr.html'>Cross-Domain JSON Transaction — Retrieving a News Feed from Yahoo! Pipes</a></li><li><a href='../node-menunav/node-menunav-8.html'>Adding Submenus On The Fly (included with examples for MenuNav Node Plugin)</a></li><li><a href='../overlay/overlay-io-plugin.html'>IO Plugin (included with examples for Overlay)</a></li><li><a href='../dd/portal-drag.html'>Portal Style Example (included with examples for Drag & Drop)</a></li> </ul> |
|
|
354 |
</div> |
|
|
355 |
</div> |
|
|
356 |
|
|
|
357 |
<div class="mod box4"> |
|
|
358 |
<div class="hd"> |
|
|
359 |
<h4>More IO Resources:</h4> |
|
|
360 |
</div> |
|
|
361 |
<div class="bd"> |
|
|
362 |
<ul> |
|
|
363 |
<!-- <li><a href="http://developer.yahoo.com/yui/io/">User's Guide</a> (external)</li> --> |
|
|
364 |
<li><a href="../../api/module_io.html">API Documentation</a></li> |
|
|
365 |
</ul> |
|
|
366 |
</div> |
|
|
367 |
</div> |
|
|
368 |
</div> |
|
|
369 |
</div> |
|
|
370 |
|
|
|
371 |
</div> |
|
|
372 |
</div> |
|
|
373 |
|
|
|
374 |
|
|
|
375 |
<div class="yui-b toc3" id="tocWrapper"> |
|
|
376 |
<!-- TABLE OF CONTENTS --> |
|
|
377 |
<div id="toc"> |
|
|
378 |
|
|
|
379 |
<ul> |
|
|
380 |
<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="item"><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="selected "><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> |
|
|
381 |
</div> |
|
|
382 |
</div> |
|
|
383 |
</div><!--closes bd--> |
|
|
384 |
|
|
|
385 |
<div id="ft"> |
|
|
386 |
<p class="first">Copyright © 2009 Yahoo! Inc. All rights reserved.</p> |
|
|
387 |
<p><a href="http://privacy.yahoo.com/privacy/us/devel/index.html">Privacy Policy</a> - |
|
|
388 |
<a href="http://docs.yahoo.com/info/terms/">Terms of Service</a> - |
|
|
389 |
<a href="http://docs.yahoo.com/info/copyright/copyright.html">Copyright Policy</a> - |
|
|
390 |
<a href="http://careers.yahoo.com/">Job Openings</a></p> |
|
|
391 |
</div> |
|
|
392 |
</div> |
|
|
393 |
<script src="../../assets/dpSyntaxHighlighter.js"></script> |
|
|
394 |
<script language="javascript"> |
|
|
395 |
dp.SyntaxHighlighter.HighlightAll('code'); |
|
|
396 |
</script> |
|
|
397 |
</body> |
|
|
398 |
</html> |