Product Details
DOM Scripting: Web Design with JavaScript and the Document Object Model

DOM Scripting: Web Design with JavaScript and the Document Object Model
By Jeremy Keith

List Price: $34.99
Price: $23.09 & eligible for FREE Super Saver Shipping on orders over $25. Details

Availability: Usually ships in 2 to 4 weeks
Ships from and sold by Amazon.com

31 new or used available from $15.98

Average customer review:

Product Description

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. Jermey starts off by giving you a basic crash course in JavaScript and the DOM, then move on to provide you with several real world examples built up from scratch including dynamic image galleries and dynamic menus, and show you how to manipulate web page style using the CSS DOM, and create markup on the fly. You'll learn how to:

* Apply dynamic behavior to your pages without inserting JavaScript in your markup.

* Write scripts that degrade gracefully when JavaScript isn’t available.

* Use web standards to ensure cross-browser compatibility.

* Harness the power of the DOM to create user-controlled animation.

* Also includes an introduction to Ajax.


Product Details

  • Amazon Sales Rank: #173826 in Books
  • Published on: 2005-09-12
  • Original language: English
  • Number of items: 1
  • Binding: Paperback
  • 368 pages

Features


Editorial Reviews

About the Author
Jeremy is a web developer living and working in Brighton, England. Working with the web consultancy firm Clearleft ( www.clearleft.com ), he enjoys building accessible, elegant websites using the troika of web standards: XHTML, CSS, and the DOM. His online home is www.adactio.com. Jeremy is also a member of the www.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 ( www.saltercane.com ). He is also the creator and curator of one of the web's largest online communities dedicated to Irish traditional music, www.thesession.org


Customer Reviews

Exceptionally Clear Handling of a Subject in Transition5
This book is directed toward scripters at the beginning and intermediate level. This is also a very good book for the veteran scripter who wants to re-tool as DOM-based techniques take hold.

I think Jeremy Keith takes the best road when he launches directly into DOM methods and objects, only mentioning the older ways for completeness. Most often, JavaScript books do the opposite -- mentioning DOM scripting only as an advanced art. But why learn the older ways when you must unlearn them later?

The author focuses on teaching correct methods and approaches, often taking the long way around to make it easier to see the larger picture. This requires a lot of forethought and organization on the part of an author and here the material excels. I don't think anyone will trip up following this guide through the Web script jungle.

The author also avoids the unbearable humor and cutesy language encountered so often in tech books. Thank you Mr. Keith! This is good, clear writing to go with good, clean scripting.

Quibbles: I think the author should have been more concerned with compatibility issues, esp. with IE6, the decrepit but still dominant browser. For instance, on pp 200-01, he recommends using the setAttribute() method to set a class but does not mention that IE improperly demands "className" as a parameter. His snippet would fail in IE. The chapter on CSS scripting was good but barely scratched the surface, not mentioning a bunch of cool scriptable objects.

Overall, this book is a worthy tool that should be welcomed by the target audience.

Finally, a book to teach us JavaScript DOM5
There's been a lull in the past couple years with JavaScript books. Even though there are many sites that use DHTML and DOM scripting, there never was any books that really explain how to do these very useful and cool effects. Plenty of websites to download and copy code, but nothing that really explains how to do it. UNTIL NOW!!!

The moment I start reading the first chapter, I knew I would finally learn what DOM scripting really meant. I've read through many basic JavaScript books from different publishers but all of them just briefly described how the DOM worked in one brief chapter. The whole DOM Scripting book talks about it.

The first 2 chapters are a brief refresher course of the JavaScript basics, and then the 3rd chapter starts in with the DOM. After a thorough explanation of what it is and how it can be used, the next chapters go through various projects in reviewing how it can be used in real life web design.

There are eight chapters that explain and show you how DOM scripting can be used. The final chapter talks about the future of scripting and gives examples of AJAX--a great bonus!

I highly recommend this book to anybody who wants to take their JavaScript code to the next level. It's also a great book to help would-be AJAX programmers as well. Since you have to have a very good understanding of DOM to create AJAX applications.

The Perfect Javascript/DOM book for beginners5
When a Javascript/DOM book:
1) ..starts by introducing Javascript and it's syntax instead of jumping into DOM immediately.
2) ..Explains every single bit of code in a simple language.
3) ..uses simple and easy-to-follow code.
4) ..Starts a chapter with a very simple program and build on it as you read.
5) ..lets you put up your first useful/practical Javascript script in a few hours.
6) ..encourages you to 'understand' the code instead of 'memorizing' it
7) ..is written by Jeremy Keith

..Then you know it's worth every single cent you spend on it. I have nothing to say here except that if you're someone who knows nothing about Javascript/DOM and is willing to learn it, then you really shouldn't miss this book. But If you're an intermediate or advanced Javascript/DOM coder, then buying this book is not a good idea. It was solely made for begginers.