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: £23.99
Price: £11.30

Availability: Usually dispatched within 1-2 business days
Dispatched from and sold by the_book_depository

34 new or used available from £11.26

Average customer review:

Product Details

  • Amazon Sales Rank: #12122 in Books
  • Published on: 2005-09-01
  • Number of items: 1
  • Binding: Paperback
  • 368 pages

Editorial Reviews

Synopsis
Describes the programming concepts of JavaScript and DOM Scripting.


Customer Reviews

Good on the whole - but far too much padding!3
A good sound treatment of DOM Scripting, but one glaring error and a huge amount of wasted space - apart from a wide blank left margin used only for page numbers, the *whole* of a code sequence is repeated many times as it is built up (instead of e.g. putting the final complete code at the end of the section). The worst offender - the very useful addLoadEvent function (not his own) is repeated time after time, instead of being put into an appendix of frequently used functions. Also, on p154 of the 2005 edition there is a completely erroneous discussion of node structure when attempting to extract the value of a text node, which is only partially corrected in the online errata (the whole paragraph needs deleting urgently). Also, some very odd CSS rules are used to style his "image gallery", with list elements *twice* configured to appear horizontally vertically. Try downloading his example coding - you can delete quite a lot of the CSS without affecting the layout. But if thoroughly proof-read and corrected for a new edition, this would be a very sound introduction to JavaScript and the correct approach to DOM scripting.

Probably the best book on JavaScript - Doing it properly!5
Since I started observing web standards and trying to produce websites that were accessible to the widest possible audience I've tried to avoid JavaScript assuming my sites wouldn't be accessibly to those users with screen readers or JavaScript turned off.

Jeremy Keith, from Brighton's web consultancy Clearleft, explains how to write good, clean code that degrades gracefully in this fantastic book. Starting at the beginning with the history and basics of JavaScript, he steers you comfortably through best practices and real world, useful examples. Whatever your technical ability you can soon become proficient with writing your own JavaScript and you'll soon be ready for his next book - Bulletproof Ajax

Ignore Yorkshire UK's comment..!5
I'm so glad I did as it nearly put me off buying this book. It's not platform nor browser dependent, the examples contained therein work in every major recent browser as their support of the W3C DOM is pretty robust(which can't be said for CSS of course). The book's ethos is the complete opposite of writing browser-specific non-standards code making me wonder whether said reviewer actually read the book properly...

As others have said, it's fairly low level but having bought an O'Reilly book on JavaScript, which was way too technical and dry, I found this has really given me a leg up to learning more complicated code than markup and styling languages. It introduces concepts slowly nad explains them well so you gradually build up your knowledge. I'd highly recommend it.