DOM Scripting and over 2 million other books are available for Amazon Kindle . Learn more

Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading DOM Scripting on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

DOM Scripting: Web Design with JavaScript and the Document Object Model [Paperback]

Jeremy Keith
4.4 out of 5 stars  See all reviews (21 customer reviews)
RRP: £27.49
Price: £23.71 & FREE Delivery in the UK. Details
You Save: £3.78 (14%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want it Wednesday, 23 April? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition £20.06  
Paperback £23.71 Trade-In Store
Did you know you can use your mobile to trade in your unwanted books for an Gift Card to spend on the things you want? Visit the Books Trade-In Store for more details or check out the Trade-In Amazon Mobile App Guidelines on how to trade in using a smartphone. Learn more.
There is a newer edition of this item:
DOM Scripting: Web Design with JavaScript and the Document Object Model DOM Scripting: Web Design with JavaScript and the Document Object Model 4.5 out of 5 stars (2)
In stock.

Book Description

1 Sep 2005 1590595335 978-1590595336 First U.S. Edition
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 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.

Frequently Bought Together

DOM Scripting: Web Design with JavaScript and the Document Object Model + Sams Teach Yourself JavaScript in 24 Hours (Sams Teach 24 Hours)
Price For Both: £46.70

Buy the selected items together

Product details

  • Paperback: 338 pages
  • Publisher: FRIENDS OF ED; First U.S. Edition edition (1 Sep 2005)
  • Language: English
  • ISBN-10: 1590595335
  • ISBN-13: 978-1590595336
  • Product Dimensions: 23.4 x 19 x 1.3 cm
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (21 customer reviews)
  • Amazon Bestsellers Rank: 264,294 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Jeremy Keith is a freelance Web Developer living and working on the south coast of England. He is speaking at this year's South by South-West Web Design Conference in the US.

Inside This Book (Learn More)
Explore More
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

Most Helpful Customer Reviews
31 of 31 people found the following review helpful
5.0 out of 5 stars Fantastic! 11 Oct 2005
Okay, if you're reading this, you're at least considering buying this book. Don't waste any more time, buy it now.
I started writing websites at the end of the nineties and I used to use a lot of JavaScript. However, it was all very hacky, partly because I didn't know how to do it otherwise and partly because making it any neater seemed like a whole lot of effort.
Over the last year or so, I've got back into web design and like a lot of people have been seduced by the clarity of using CSS for design. However, the more I got into style sheets, the more I was repulsed by the thought of sullying my sites with JavaScript as I knew it, and had pretty much begun to pride myself on my now complete avoidance of it.
Then I started to hear more and more about the combination of not only (X)HTML and CSS but also JavaScript, in ways that were thoroughly "web standards" and "accessibility" compliant. So, I got Jeremy's book from Amazon and have devoured it in less than a week.
This book makes DOM Scripting (JavaScript) seem so easy and so part of web standards that I now feel silly for thinking otherwise. If you feel like you now have a feeling for the basics of why/how to use CSS to make sites, then there is absolutely no reason that you shouldn't also understand all of the ideas here. If anything, the ideas interlocked so well with how I (and I think, lots of people) have come to think about web site structure, that they have helped me have a clearer picture of XHTML and CSS.
The book develops several standalone enhancements to the functionality of websites throughout its chapters and these are combined beautifully to give a great demo site near the end. This site, in the spirit of unobtrusive scripting, championed throughout the book, works perfectly with JavaScript disabled, but is clearly, simply, and yet massively enhanced if JavaScript is enabled.
A lovely book which I find it hard to imagine having been written any better than it was.
Comment | 
Was this review helpful to you?
17 of 17 people found the following review helpful
Summary: Fantastic book.
Being efficient in XHTML and CSS i wanted to add something to these skills. This book did that. The DOM is something that i knew little about, after reading this book i now have a firm grasp of what can be done. Its not only how to use it, its the why and when that the author describes so fantastically well.
When everyone thinks about Javascript they think usability and accessibility problems straight away. This book addresses these issues extremely well and shows you how to implement clever scripts.
Everything is explained in detail without being patronising. The examples build and build to the final exercise where you put your new found knowledge to use. I couldn't wait to put the book down and go straight to my PC and use these techniques.
Probably the best book i have read and recommend the author to write many more.
Comment | 
Was this review helpful to you?
17 of 17 people found the following review helpful
By lesteph
Format:Paperback|Verified Purchase
I didn't buy this straightaway, thinking that I'd be able to find most of the content on various websites, but I'm very glad I took the plunge. There's lots in here that's of immediate practical use, as well as plenty of food for thought about how you put a site together more generally, in terms of separating structure, behaviour and presentation.
The code examples are clearly explained, but I did feel it helped to have some background with CSS and PHP as the book dives right into function calls, object properties and the like - and yet does a good job of making these accessible.
If there's a weakness, I'd say it occasionally takes too long to make its point, e.g. going step by step through very similar code examples at times. From a reader's point of view, Jeremy's coding style seems quite perfectionist, showing successively better or neater ways to write a given piece of code - that's no bad thing though, and the rationale is always explained clearly.
This is a book that deserves a wider audience - the potential power of DOM scripting is awesome, and this will help people comfortable with basic scripting to make the leap to building more sophisticated, impressive and robust web applications.
Comment | 
Was this review helpful to you?
7 of 7 people found the following review helpful
5.0 out of 5 stars Ignore Yorkshire UK's comment..! 5 Jun 2007
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.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
3.0 out of 5 stars Good on the whole - but far too much padding! 18 Mar 2008
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.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
5.0 out of 5 stars Fantastic book.
Recommend it to anyone doing JavaScript. It is quite elementary level but as Dom Scripting is not very popular there are still stuff in the book that I keep going back to, just to... Read more
Published 13 days ago by Darius
2.0 out of 5 stars Not bad but a little basic
This book is good if you are a complete beginer to Javascript/DOM. It will give you the very basics but not much more. Read more
Published on 4 Jan 2011 by ChrisFrench
4.0 out of 5 stars Excellent, but wait for the new edition
This book might well have been subtitled "How to add Javascript without making a fool of yourself". It is a model of clarity - far better written than most web technical books. Read more
Published on 3 Oct 2010 by Alec Cawley
5.0 out of 5 stars The most lucid book on DOM scripting yet!
This is simply the most lucid book on DOM scripting yet! I am not an Anorak and I don't normally read textbooks from cover to cover but this book was an exception. Read more
Published on 17 Mar 2010 by K. Le Breton
3.0 out of 5 stars Best Practices... Yes, but why not go all the way?
This book is a very fine (as in gentle) introduction to JavaScript and using it unobtrusively by using best practices. And it does a fine job... Read more
Published on 26 April 2009 by Michael G. Sørensen
5.0 out of 5 stars Great JavaScript starting point in the right direction
This book will give a solid foundation on how to build on a better websites with the use of Document Object Model and JavaScript. Read more
Published on 20 Mar 2009 by Zlatin Ivanov
4.0 out of 5 stars Good understandable introduction to JavaScript and DOM
This book is a good basic introduction to understanding JavaScript and the concept of the DOM model and is the recommended reading for the Programming module for my University... Read more
Published on 11 Mar 2009 by G. Sweeney
5.0 out of 5 stars great book!
really well written, clear and concise with plenty of examples.

highly recommended. i also got a "friends of ed" book on css and that was excellent as well. Read more
Published on 28 July 2008 by bollos
5.0 out of 5 stars Probably the best book on JavaScript - Doing it properly!
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... Read more
Published on 22 Feb 2008 by Sean Johnson
5.0 out of 5 stars Best start for a non programming Designer
I found this book an amazing read in that, firstly it is readable rather than a manual. Secondly, it is immensely easy to understand for those who haven't done much in the way of... Read more
Published on 15 Jan 2007 by M. Gordon
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category