Start reading DOM Scripting on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
DOM Scripting: Web Design with JavaScript and the Document Object Model
 
 

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

Jeremy Keith
4.4 out of 5 stars  See all reviews (20 customer reviews)

Digital List Price: £22.79 What's this?
Print List Price: £27.49
Kindle Price: £18.23 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £9.26 (34%)
Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £14.73  
Kindle Edition, 12 Sep 2005 £18.23  
Paperback £27.49  

Product Description

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.

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.

Product details

  • Format: Kindle Edition
  • File Size: 8420 KB
  • Print Length: 368 pages
  • Publisher: Friends of ED; 1st edition (12 Sep 2005)
  • Sold by: Amazon Media EU S.à r.l.
  • Language English
  • ASIN: B000S1LU6Y
  • Text-to-Speech: Enabled
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (20 customer reviews)
  • Amazon Bestsellers Rank: #268,710 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Author

Jeremy Keith
Discover books, learn about writers, and more.

Visit Amazon's Jeremy Keith Page

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Customer Reviews

Most Helpful Customer Reviews
30 of 30 people found the following review helpful
Fantastic! 11 Oct 2005
Format:Paperback
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
Format:Paperback
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
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?
Most Recent Customer Reviews
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 17 months ago by ChrisFrench
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 20 months ago by Alec Cawley
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
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
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
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
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
Good on the whole - but far too much padding!
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... Read more
Published on 18 Mar 2008 by Mike Taylor
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
Ignore Yorkshire UK's comment..!
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... Read more
Published on 5 Jun 2007 by F. Lewis
Search Customer Reviews
Only search this product's reviews

Popular Highlights

 (What's this?)
&quote;
The DOM has a method called getElementById, which does exactly what it sounds like: it allows you to get straight to the element node with the specified id. &quote;
Highlighted by 5 Kindle users
&quote;
The real power of the DOM is that the contents of a page can be updated without refreshing the page in the browser. &quote;
Highlighted by 5 Kindle users
&quote;
If you want to change the value of a text node, there is a DOM property called nodeValue that can be used to get (and set) the value of a node: &quote;
Highlighted by 5 Kindle users

Customer Discussions

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

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

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges