aller au contenu
Simply Javascript
FermerAperçu de cet ouvrage

Simply Javascript

Auteur : Kevin Yank; Cameron Adams
Éditeur : Collingwood, Victoria : Sitepoint, ©2007.
Édition/format :   Livre : Anglais : 1st edVoir toutes les éditions et les formats
Résumé :
A guide to the JavaScript programming language covers such topics as document access, events, animation, form enhancements, errors and debugging, and Ajax.
Évaluation :

(pas encore évalué) 0 avec des critiques - Soyez le premier.

 

Trouver un exemplaire dans la bibliothèque

Récupération en cours... Recherche de bibliothèques qui possèdent cet ouvrage...

Détails

Format : Livre
Tous les auteurs / collaborateurs : Kevin Yank; Cameron Adams
ISBN : 9780980285802 : 0980285801
Numéro OCLC : 154706210
Notes : Includes index.
Description : xxiv, 405 p. : col. ill. ; 23 cm.
Contenu : 0. Preface
* Who Should Read this Book?
* What s Covered in this Book?
* The Book s Web Site
o The Code Archive
o Updates and Errata
* The SitePoint Forums
* The SitePoint Newsletters
* Your Feedback
* Acknowledgments
o Kevin Yank
o Cameron Adams
* Conventions Used in this Book
o Code Samples
o Tips, Notes, and Warnings
1. 1. The Three Layers of the Web
* Keep em Separated
* Three Layers
o HTML for Content
o CSS for Presentation
o JavaScript for Behavior
* The Right Way
* JavaScript Libraries
* Let s Get Started!
2. 2. Programming with JavaScript
* Running a JavaScript Program
* Statements: Bite-sized Chunks for your Browser
* Comments: Bite-sized Chunks Just for You
* Variables: Storing Data for your Program
o Variable Types: Different Types for Different Data
* Conditions and Loops: Controlling Program Flow
o Conditions: Making Decisions
o Loops: Minimizing Repetition
* Functions: Writing Code for Later
o Arguments: Passing Data to a Function
o Return Statements: Outputting Data from a Function
o Scope: Keeping your Variables Separate
* Objects
* Unobtrusive Scripting in the Real World
* Summary
3. 3. Document Access
* The Document Object Model: Mapping your HTML
o Text Nodes
o Attribute Nodes
* Accessing the Nodes you Want
o Finding an Element by ID
o Finding Elements by Tag Name
o Finding Elements by Class Name
o Navigating the DOM Tree
o Interacting with Attributes
* Changing Styles
o Changing Styles with Class
* Example: Making Stripy Tables
o Finding All Tables with Class dataTable
o Getting the Table Rows for Each Table
o Adding the Class alt to Every Second Row
o Putting it All Together
* Exploring Libraries
o Prototype
o jQuery
o Dojo
* Summary
4. 4. Events
* An Eventful History
* Event Handlers
o Default Actions
o The this Keyword
o The Problem with Event Handlers
* Event Listeners
o Default Actions
o Event Propagation
o The this Keyword
o The Internet Explorer Memory Leak
o Putting it All Together
* Example: Rich Tooltips
o The Static Page
o Making Things Happen
o The Workhorse Methods
o The Dynamic Styles
o Putting it All Together
* Example: Accordion
o The Static Page
o The Workhorse Methods
o The Dynamic Styles
o Putting it All Together
* Exploring Libraries
* Summary
5. 5. Animation
* The Principles of Animation
* Controlling Time with JavaScript
o Using Variables with setTimeout
o Stopping the Timer
o Creating a Repeating Timer
o Stopping setInterval
* Revisiting Rich Tooltips
* Old-school Animation in a New-school Style
* Path-based Motion
o Animating in Two Dimensions
o Creating Realistic Movement
o Moving Ahead
* Revisiting the Accordion Control
o Making the Accordion Look Like it s Animated
o Changing the Code
* Exploring Libraries
o script.aculo.us
* Summary
6. 6. Form Enhancements
* HTML DOM Extensions
o Example: Dependent Fields
o Example: Cascading Menus
* Form Validation
o Intercepting Form Submissions
o Regular Expressions
o Example: Reusable Validation Script
* Custom Form Controls
o Example: Slider
* Exploring Libraries
o Form Validation
o Custom Controls
* Summary
7. 7. Errors and Debugging
* Nothing Happened!
* Common Errors
o Syntax Errors
o Runtime Errors
o Logic Errors
* Debugging with Firebug
* Summary
8. 8. Ajax
* XMLHttpRequest: Chewing Bite-sized Chunks of Content
o Creating an XMLHttpRequest Object
o Calling a Server
o Dealing with Data
* A Word on Screen Readers
* Putting Ajax into Action
* Seamless Form Submission with Ajax
* Exploring Libraries
o Prototype
o Dojo
o jQuery
o YUI
o MooTools
* Summary
9. 9. Looking Forward
* Bringing Richness to the Web
o Easy Exploration
o Easy Visualization
o Unique Interaction
* Rich Internet Applications
o Widgets
* JavaScript Off the Web
* Exploring Libraries
o Dojo
o Google Web Toolkit
* Summary
10. A. The Core JavaScript Library
* The Object
* Event Listener Methods
* Script Bootstrapping
* CSS Class Management Methods
* Retrieving Computed Styles
* The Complete Library
11. Index
Responsabilité : by Kevin Yank & Cameron Adams.

Résumé :

Teaches you JavaScript basics from the ground up. You'll learn about popular JavaScript libraries that can ease your scripting headaches, as well how to achieve dozens of common tasks. Unlike other  Lire la suite...

Critiques

Critiques fournies par les utilisateurs
Récupération des critiques de weRead...
Récupération des critiques de GoodReads...
Récupération des critiques d’Amazon...

Tags

Soyez le premier.

Ouvrages semblables

Sujets associés :(7)

Listes d’utilisateurs dans lesquelles cet ouvrage apparaît (4)

Confirmez cette demande

Vous avez peut-être déjà demandé cet ouvrage. Veuillez sélectionner OK si vous voulez poursuivre avec cette demande quand même.

Fermer la fenêtre

Veuillez vous identifier dans WorldCat 

Vous n’avez pas de compte? Vous pouvez facilement créer un compte gratuit.