These days, Web Designers and Developers take more care in designing and building web sites. Less readily do they turn to old fashioned techniques such as GIF spacers, tables for layout, and deprecated HTML elements, which can cause accessibility/usability problems and are just plain bad practice. 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 gives you everything you need to start using JavaScript and the Document Object Model to enhance your web pages with client-side dynamic effects. We start 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.