The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks

The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks

Book Description

Using a approach, The Anthology will show you how to apply to solve over 101 common challenges. You’ll discover how-to:

# Optimize your code so that it runs faster
# Create applications with the XmlHttpRequest object
# Validate forms to improve usability
# Take control of your web pages with the DOM
# Ensure that your code is accessible
# Create slick drop-down menu systems

Included in this book is extensive coverage of DHTML and , 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 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.

About the Author
Cameron has been adding to the Internet for over seven years and now runs his own design and business: www.themaninblue.com. He likes to combine the aesthetic with the technological on his Weblog, which contains equal parts of JavaScript, design and .

James programmed and maintains the UDM (Ultimate Dropdown Menu) system, one of the best dynamic menu systems (“the world’s first fully-featured and accessible website menu, and provides useable content to all browsers – including screenreaders, search-engines and text-only browsers”).

Book Details

  • Paperback: 592 pages
  • Publisher: SitePoint (March 2, 2006)
  • Language: English
  • ISBN-10: 0975240269
  • ISBN-13: 978-0975240267
  • File Size: 6.8 MiB

E-Book

[FP] Sitepoint.The.JavaScript.Anthology.Mar.2006.rar
[UN] Sitepoint.The.JavaScript.Anthology.Mar.2006.rar

Paper Book

[Amazon] The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks
Tags:   ·