The majority of questions that show up on the numerous online forums for JavaScript and DHTML begin with "How do I...?" This text aims to answer those questions. Danny Goodman has read thousands of forum threads and compiled lists of the problems that scripters of various experience levels frequently encounter. Rather than wrestle with the same problems that countless others have worked through before, you can take advantage of this unique and extensive collectionof practical recipes and adapt them to your own applications. The book is all about adding value to the content of a Web page. It is a comprehensive collection of problems, solutions, and practical examples for anyone using JavaScript and Dynamic HTML to build Web pages. The book focuses on practical and sensible applications of scripting, rather than flying images and gratuitous color changes. For every problem addressed in the book, there's a solution or "recipe" - a short, focused piece of code that Web developers can insert directly into their applications. But, the book offers more than cut-and-paste code.
You'll also get explanations of how and why the code works, so you can learn to adapt the problem-solving techniques to similar situations. The recipes in the cookbook range from simple tasks, such as manipulating strings and validating dates in JavaScript, to entire libraries that demonstrate complex tasks, such as cross-browser positioning of HTML elements and draggable elements. The book contains over 150 recipes on the following topics: managing browser windows and multiple frames; working with forms and style sheets; supporting various kinds of page navigation; producing visual effects for stationary content; positioning HTML elements; and creating dynamic content.
- ISBN10 0596517130
- ISBN13 9780596517137
- Publish Date 8 August 2007 (first published 1 April 2003)
- Publish Status Active
- Imprint O'Reilly Media
- Edition 2nd Revised ed.
- Format eBook
- Pages 604
- Language English