loader = $img({ src: 'images/loader.gif', alt: 'Loading...', id:
'loader' });
parent.appendChild(this.loader);
this.hide();
Ajax.Responders.register({
onCreate: function() {
Loader.show();
},
onComplete: function() {
Loader.hide();
}
});
},
show: function() {
this.loader.show();
},
hide: function() {
this.loader.hide();
}
};
CHAPTER 9 n A DYNAMIC HELP SYSTEM 213
nSymbols
$ function (Prototype library), 87
$ function (jQuery library), 89??“90
$$ function (Prototype library), 88
$$ function (Mootools library), 93
$A function (Prototype library), 76
nA
ActiveX, described, 3
addBehavior method (Low Pro library),
198??“202
addDOMLoadEvent method, 173
addEventListener DOM method, 44
Adobe Dreamweaver, HTML validation, 15
Ajax (Asynchronous JavaScript and XML)
advantages, 17, 99??“100, 102
capabilities, 99??“100
communication methods, 206??“207
communication with, 4
data formats, 100, 106
delimited string format, 116
error handling, 104, 119??“124
executing JavaScript code from, 114??“115
Google Docs & Spreadsheets, use of,
99??“100
history, 3, 99
HTML format, 114
HTTP status codes, 122
interface planning, 104??“106
JavaScript format, 114??“115
libraries, 83, 124??“127, 197??“198, 201
multiple requests, 122??“123
progress indicators, 103??“104
request source, determining whether, 200
request structure, 101
request/response process, 102??“103
reusable, 117??“118
security issues, 115, 117
string syntax, 116
timeout handling, 120??“122
unexpected data, 123??“124
user interaction, 104
validation, 160??“165
W3C standard, 3
XML and, 4, 106??“110
Yahoo! User Interface library and, 126
Ajax.
Pages:
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293