DOM Scripting: Web Design with JavaScript and the Document Object Model (Google eBook)

Front Cover
Apress, Sep 19, 2005 - Computers - 368 pages
17 Reviews

We know from the success of titles such as Web Standards Solutions, Cascading Style Sheets: Separating Content from Presentation, and The Web Designer's Reference that web designers are increasingly concerned with making sites that donít just look pretty, but are also built using current best practices.

There are three main technologies married together to create usable, standards-compliant web designs: XHTML for data structure, Cascading Style Sheets for styling your data, and JavaScript for adding dynamic effects and manipulating structure on the fly using the Document Object Model.

This book is about the latter of the three. DOM Scripting: Web Design with JavaScript and the Document Object Model gives you everything you need to start using JavaScript and the Document Object Model to enhance your web pages with client-side dynamic effects. Jeremy Keith starts off by giving you a basic crash course in JavaScript and the DOM, then moves on to provide you with several real-world examples built up from scratch, including dynamic image galleries and dynamic menus. Then, he shows you how to manipulate web page style using the CSS DOM, and create markup on the fly.

  

What people are saying - Write a review

User ratings

5 stars
7
4 stars
7
3 stars
2
2 stars
0
1 star
1

Review: Dom Scripting: Web Design with JavaScript and the Document Object Model

User Review  - Dave Peticolas - Goodreads

A readable and friendly introduction to practical Javascript for dynamic sites. Read full review

Review: Dom Scripting: Web Design with JavaScript and the Document Object Model

User Review  - Shaun Dunne - Goodreads

First book I ever read on JavaScript - made me want to be a front end developer, so I became one. This is the best book for any beginner diving in. Read full review

Contents

A BRIEF HISTORY OF JAVASCRIPT
3
JAVASCRIPT SYNTAX
13
THE DOCUMENT OBJECT MODEL
41
A JAVASCRIPT IMAGE GALLERY
57
BEST PRACTICES
77
IMAGE GALLERY REVISITED
93
CREATING MARKUP ON THE FLY
119
ENHANCING CONTENT
145
CSSDOM
177
ANIMATED SLIDESHOW
207
PUTTING IT ALL TOGETHER
243
THE FUTURE OF DOM SCRIPTING
293
REFERENCE
311
INDEX
329
Copyright

Common terms and phrases

Popular passages

Page 7 - The Document Object Model is a platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure, and style of documents.
Page 28 - Not Equal To, Greater Than, Less Than, Greater Than Or Equal To, and Less Than Or Equal To.
Page 15 - English grammar demands that sentences begin with a capital letter and end with a period, the syntax of JavaScript is much more forgiving.

References to this book

About the author (2005)

Jeremy Keith is a web developer living and working in Brighton, England. Working with the web consultancy firm Clearleft (Clearleft.com), he enjoys building accessible, elegant websites using the troika of web standards: XHTML, CSS, and the DOM. His online home is Adactio.com. Jeremy is also a member of the WebStandards.org, where he serves as joint leader of the DOM Scripting Task Force. When he's not building websites, Jeremy plays bouzouki in the alt.country band Salter Cane (SalterCane.com). He is also the creator and curator of one of the web's largest online communities dedicated to Irish traditional music, TheSession.org.

Bibliographic information