Using a cookbook approach, The JavaScript Anthology will show you how to apply JavaScript to solve over 101 common Web Development challenges. You'll discover how-to: Optimize your code so that it runs faster Create Ajax applications with the XmlHttpRequest object Validate web forms to improve usability Take control of your web pages with the DOM Ensure that your JavaScript code is accessible Create slick drop-down menu systems Included in this book is extensive coverage of DHTML and Ajax, including how-to create and customize advanced effects such as draggable elements, dynamically sorting data in a Web Browser, advanced menu systems, retrieving data from a Web Server using XMLHttpRequest and more. "The JavaScript Anthology" also includes extensive coverage of object oriented coding, efficient script design, accessibility, and cross-browser issues. Best of all, you'll get download access to all the code used in the book, so you can put the scripts to use instantly.
From the Publisher "Take control with the ultimate JavaScript toolkit" The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks provides you with tried and tested real-world solutions to over 100 real-world scripting problems. Among the 101 Tips, Tricks & Hacks you'll learn how-to: Search and replace text using regular expressions. Navigate the DOM and create, delete, and move elements on the page. Validate email addresses on your web forms. Print inline error messages when validating forms. Minimize the problems associated with popup windows. Make a slideshow of images. Ensure your code works on different browsers. Make a style sheet switcher. Build an accessible drop-down menu system.Construct drag 'n' drop interfaces using AJAX. Use JavaScript and Flash together. Make your JavaScript accessible: an in-depth look at minimizing the accessibility problems associated with using JavaScript. Use the XMLHttpRequest object to build AJAX applications. Optimize your JavaScript code so that it runs faster. And much more! Who Should Read This Book? If you're using JavaScript on your projects right now, and you want to do things faster and better, this book is for you.
The JavaScript Anthology will save you the frustration of hunting down code on the Web only to find that it isn't customizable, and doesn't represent best practice or work across different browsers. The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks contains thoroughly tested, cross-browser code that you can easily modify to suit your own needs. The book is written in the usual SitePoint style: it's clear and fun to read, with plenty of example code that you can apply immediately to your own web sites. Plus, it's super-easy to navigate the book to find exactly what you want thanks to its cookbook approach and professionally-produced index. It's the perfect reference book. There's no need to re-type any of the code in the book. As always, customers receive instant download access to all the files used in the book, so you can apply them immediately to your own projects.
- ISBN10 0975240269
- ISBN13 9780975240267
- Publish Date 1 January 2006
- Publish Status Out of Print
- Out of Print 14 October 2013
- Publish Country AU
- Imprint SitePoint Pty Ltd
- Format Paperback
- Pages 588
- Language English