francis
2nd Oct 2005, 02:25 pm
If, like me, you find JavaScript to be a scary thing that you shouldn't use because of numerous browser compatibility issues, the fact that people might have it turned off and because it's hard to follow, then you need Jeremy Keith's "DOM Scripting" book (http://www.amazon.co.uk/exec/obidos/ASIN/1590595335/qid%3D1128258858/202-5407922-2378203). It's just the thing I've been looking for for years - a very easy to follow, well written book on using the W3C's DOM (Document Object Model) to produce unobtrusive, gracefully degrading scripts that will enhance documents.
The majority of the book is taken up with producing an image slide show, but once that's done it moves on to take what you've learnt to build a site for a music group. There's a supporting web site (http://www.domscripting.com/) available (including the finished band site) so you can see what it's all about.
If you want to use JavaScript for good not evil (no more inline onclick events, no more of the javascript: pseudo-protocol, ensuring that your site works without scripts - that the scripts are enhancements rather than critical tools), then this really is the book that you need.
The majority of the book is taken up with producing an image slide show, but once that's done it moves on to take what you've learnt to build a site for a music group. There's a supporting web site (http://www.domscripting.com/) available (including the finished band site) so you can see what it's all about.
If you want to use JavaScript for good not evil (no more inline onclick events, no more of the javascript: pseudo-protocol, ensuring that your site works without scripts - that the scripts are enhancements rather than critical tools), then this really is the book that you need.