Related Titles
- Full Description
-
As a web designer or developer, you know how powerful DOM scripting is for enhancing web pages and applications, adding dynamic functionality and improving the user experience. You've got a reasonable understanding of JavaScript and the DOM, but now you want to take your skills further. This book is all you needit shows you how to add essential functionality to your web pages, such as on the fly layout and style changes, interface personalization, maps and search using APIs, visual effects using JavaScript libraries, and much more.
- Includes a quick recap of the basics, for reference purposes
- Packed with real world JavaScript solutions from beginning to end
- Written by Beginning Google Maps author Jeffrey Sambells, and includes a case study by JavaScript guru Aaron Gustafson
What youll learn
- A quick recap of the HTML and CSS DOM, methods, and events
- The basics of how to add dynamic effects and respond to user actions to your web sites using CSS and JavaScript
- Introduces Ajax to the mix, showing you how to use it, and when not to use it
- Best practices (such as graceful degredation) and productivity improvement via code reuse (libraries and APIs)
- Create Mashups using search, photo and mapping APIs
- Build better, more dynamic user experiences using libraries such as Prototype and Scriptaculous
Who this book is for
This book is for intermediate to advanced web designers and developers who already have a reasonable to good knowledge of HTML, CSS, and JavaScript.
- Source Code/Downloads
- Errata
-
If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.
On page 132:
Should window['ADS']['camelize'] = camelize;
read uncamelize?
/********************************
* Chapter 4
*********************************/
/**
* Convert camel case wordWord strings to hyphenated word-word strings.
*/
function uncamelize(s, sep) {
sep = sep || '-';
return s.replace(/([a-z])([A-Z])/g, function (strMatch, p1, p2){
return p1 + sep + p2.toLowerCase();
});
}
window['ADS']['camelize'] = camelize;
On page 232:
Error: uncaught exception: [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: "file:///Users/ck/Documents/EDU/JS/AdvancED%20DOM%20Scripting%20/iamamused-foED-AdvancED-DOM-Scripting-2f83ace/ADS-final-verbose.js Line: 769"]








