REVIEW - JavaScript & DHTML Cookbook - Solutions & Examples for Web Programmers


JavaScript & DHTML Cookbook

Solutions & Examples for Web Programmers


Danny Goodman


O'Reilly (2003)




Alyn Scott


April 2004



This is another of O'Reilly's Cookbook series covering JavaScript and Dynamic HTML. It provides code fragments and complete examples for web site designers to incorporate into their own web pages.

The presentation is quite clear with a discussion and detailed description of each 'recipe'. It can be somewhat dry reading unless you are able to try out the examples. A few more pictures would also have been helpful. All the sample code is available for free download on O'Reilly's web site.

There are 15 chapters in 522 pages that cover a broad range of subject areas. It starts with simple concepts like variables, arrays, functions, etc and then goes into more detailed examples. Some complete libraries of useful functions are provided, such as cross-browser positioning of HTML elements, creating custom scrollbars, etc. There is quite a large section on creating custom menus in various styles.

XML is all the rage these days and this book includes sections on importing XML data. The examples use XML-formatted data for custom menus and converting into JavaScript objects for loading into tables.

The discussions recommend good site design practices, such as not opening sub-windows and supporting all the common web browsers. Mac users are not excluded either.

I thought that this book would be very useful for anyone creating their own dynamic web sites. I did not have time to try out many of the examples, but the source code looks to be well written. It is well commented and described, so it should not be too hard to customise for your own personal requirements.

Book cover image courtesy of Open Library.

Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED

By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED

Settings can be changed at any time from the Cookie Policy page.