Автор: Jeremy Keith and Jeffrey Sambells
Издательство: Apress
Год: 2010
Формат: PDF
Размер: 7 Мб
Язык: английский / English
With this second edition of the popular DOM Scripting: Web Design with javascript and the Document Object Model comes a modern revision to update best practices and guidelines. It includes full coverage of HTML5 in a new, dedicated chapter, and details on javascript libraries and how they can help your scripting.
The book provides everything you'll need to start using javascript and the Document Object Model to enhance your web pages with client-side dynamic effects and user-controlled animation. It shows how javascript, HTML5, and Cascading Style Sheets (CSS) work together to create usable, standards-compliant web designs. We'll also cover cross-browser compatibility with DOM scripts and how to make sure they degrade gracefully when javascript isn't available.
DOM Scripting: Web Design with javascript and the Document Object Model focuses on javascript for adding dynamic effects and manipulating page structure on the fly using the Document Object Model. You'll start with a crash course in javascript and the DOM, then move on to several real-world examples that you'll build from scratch, including dynamic image galleries and dynamic menus. You'll also learn how to manipulate web page styles using the CSS DOM, and create markup on the fly.