ppk on JavaScript: Modern, Accessible, Unobtrusive by Peter-Paul Koch

By Peter-Paul Koch

Even if you are an old-school scripter who must modernize your JavaScripting talents or a standards-aware net developer who wishes most sensible practices and code examples, you are going to welcome this advisor from a JavaScript grasp. different JavaScript books use instance scripts that experience little touching on real-world net improvement and are worthy in simple terms within the bankruptcy handy. against this, Peter-Paul Koch's publication makes use of 8 real-world scripts he created for real-world consumers which will earn real-world cash. that suggests the scripts are certain to do anything necessary (and sellable!) that reinforces the usability of the web page they are used on. The book's instance scripts comprise person who varieties an information desk in line with the user's seek queries, a kind validation script, a script that indicates shape fields merely whilst the consumer wishes them, a drop-down menu, and an information retrieval script that makes use of easy Ajax and exhibits the information in an animation. After an summary of JavaScript's function, Peter-Paul offers theoretical chapters at the context (jobs for JavaScript, CSS vs. JavaScript), the browsers (debugging, the arcana of the browser string), and script education. Then stick with useful chapters on middle, BOM, occasions, DOM, CSS amendment, and knowledge Retrieval, all of that are defined via a mixture of theoretical guide and the taking aside of the proper sections of the instance scripts.

Show description

Read or Download ppk on JavaScript: Modern, Accessible, Unobtrusive JavaScript Explained by Means of Eight Real-World Example Scripts PDF

Best programming: programming languages books

Designing components with the C++ STL

'This e-book is the main exact and up to date resource of knowledge at the STL presently on hand. .. It has an method and allure of its personal: it explains concepts for development information constructions and algorithms on most sensible of the STL, and during this means appreciates the STL for what it truly is - a framework. ' - Angelika Langer, autonomous advisor and C++ record Columnist"A fantastically authored remedy of the STL.

ppk on JavaScript: Modern, Accessible, Unobtrusive JavaScript Explained by Means of Eight Real-World Example Scripts

Even if you are an old-school scripter who must modernize your JavaScripting abilities or a standards-aware internet developer who wishes most sensible practices and code examples, you will welcome this advisor from a JavaScript grasp. different JavaScript books use instance scripts that experience little pertaining to real-world net improvement and are worthwhile purely within the bankruptcy to hand.

Programming Cocoa with Ruby: Create Compelling Mac Apps Using RubyCocoa (The Facets of Ruby Series)

It is a ebook for the Ruby programmer who is by no means written a Mac app ahead of. via this hands-on educational, you are going to examine all concerning the Cocoa framework for programming on Mac OS X. sign up for the author's trip as this skilled Ruby programmer delves into the Cocoa framework correct from the start, answering a similar questions and fixing a similar difficulties that you will face.

Extra resources for ppk on JavaScript: Modern, Accessible, Unobtrusive JavaScript Explained by Means of Eight Real-World Example Scripts

Example text

Edit Style Sheets This example script isn't meant for the average user. It's a site-administration script for Web masters; therefore, accessibility is not an issue. It's perfectly acceptable to say that all Web masters must use Explorer or Mozilla with JavaScript enabled in order to use the page. As to usability, it's excellently suited for allowing people who don't know anything about CSS to edit a style sheet. They immediately see the result of their actions, and that's what counts. Sandwich Picker From a usability perspective, I consider Sandwich Picker the best script in this book.

What does "remain accessible" mean in a JavaScript context? It means that the user must be able to read the content of the site, use the navigation, and perform common operations like submitting a form. Nothing less, but also nothing more. Making every site perfectly accessible in all situations is rather a tall order, and we'll see that at the time of writing it is not yet possible because of some tricky technical issues with screen readers. Nonetheless, we should make a start, and since we are able to solve some accessibility problems, we should do so.

It means that the user must be able to read the content of the site, use the navigation, and perform common operations like submitting a form. Nothing less, but also nothing more. Making every site perfectly accessible in all situations is rather a tall order, and we'll see that at the time of writing it is not yet possible because of some tricky technical issues with screen readers. Nonetheless, we should make a start, and since we are able to solve some accessibility problems, we should do so.

Download PDF sample

Rated 4.75 of 5 – based on 25 votes