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.
What you will learn
* Create a slick yet accessible drop-down menu system
* Take control of your web pages with the DOM
* Validate forms in real time using regular expressions
* Optimize your code so that it runs faster
* Manage style sheets and modify styles on-the-fly
* Produce sophisticated drag-and-drop interaction
* Enhance your site with slick, animated transitions
* Create AJAX applications with the XMLHttpRequest object
* 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!
Description
This book provides you with tried and tested real-world solutions to your web scripting problems. Following the same format as SitePoint’s hugely popular The CSS Anthology, this is the most complete question-and-answer book on JavaScript. It’s a collection of over 100 thoroughly-tested, customizable and elegant solutions that will show you how to add usable and accessible interactivity to your site: from slick drop-down menus, to style sheet switchers, to AJAX applications, and much more.
The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks also includes download access to all of the best practice code samples used throughout the book -- plug them right into your own web sites without any retyping!
Who is this for?
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.
Creators
James Edwards
James is a freelance web developer, programmer and author, with 15 years’ professional experience. He specialises in front-end development, with a particular emphasis on accessibility, and especially accessible JavaScript.
Cameron Adams
Cameron has been creating his unique mix of design & technology on the Web for over 13 years. His reputation for creating cutting edge experiences has been built by exploring the frontiers of HTML, CSS & JavaScript for organisations like Google, TED and Volkswagen. He's toured the world as a speaker & author and can now be found doing product design at Canva -- a startup he helped found in Sydney that is revolutionising online design.
Reviews
Jirayu Sangkeaw
Good
AMjAD TABASSUM
Top notch indeed, Will make you a pro in JavaScript
Baraka Mahili
It's one of the best books out there that can teach you Javascript like a baby....just as if you are learning ABCD...great for novice programmers and those who want a refresher....highly recommended.
francisco cruz
Best book I've read. Very detailed explanations. Would recommend it
Agnes
Great book, good solid knowladge. Recomended
teamNOOB
Amazing book! Very detailed and one of those books that communicates the concepts in a way you can really relate to.