Veuillez indiquer si vous voulez ou non que les autres utilisateurs puissent voir dans votre profil que cette bibliothèque est l’une de vos préférées.
Trouver un exemplaire dans la bibliothèque
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 JavaScript books, modern best practices such as progressive enhancement, accessibility and unobtrusive scripting are used from the beginning.
Lire la suite...
Critiques
Critiques fournies par les utilisateurs
Ajoutez une critique et partagez vos impressions avec d’autres lecteurs.
Soyez le premier.
Ajoutez une critique et partagez vos impressions avec d’autres lecteurs.
Soyez le premier.
Tags
Ajoutez des tags pour "Simply Javascript".
Soyez le premier.
Ouvrages semblables
Sujets associés :(7)
- JavaScript (Computer program language)
- Web site development.
- Internet programming.
- JavaScript (Langage de programmation)
- Sites Web -- Développement.
- Programmation sur Internet.
- JavaScript (Computer language)
Listes d’utilisateurs dans lesquelles cet ouvrage apparaît (4)
- Things to Check Out(82 ouvrages)
de jeaniez mise à jour 2009-09-11
- Web Development(23 ouvrages)
de lyneefoster mise à jour 2010-10-19
- Web Design Bookshelf(11 ouvrages)
de justinwolf mise à jour 2008-12-05
- Things to Check Out(1 ouvrages)
de maveric247
