Learning jQuery : create better interaction, design and web development with simple JavaScript techniques /
"Discover the new features available in jQuery 1.6 in this third update of this popular jQuery book"--Back cover
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
©2011.
|
Edición: | 3rd ed. |
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Exercises
- 5. Manipulating the DOM
- Manipulating attributes
- Non-class attributes
- Value callbacks
- DOM element properties
- DOM tree manipulation
- The () function revisited
- Creating new elements
- Inserting new elements
- Moving elements
- Wrapping elements
- Inverted insertion methods
- Copying elements
- Cloning for pull quotes
- Content getter and setter methods
- Further style adjustments
- DOM manipulation methods in a nutshell
- Summary
- Further reading
- Exercises
- 6. Sending Data with Ajax
- Loading data on demand
- Appending HTML
- Working with JavaScript objects
- Retrieving JSON.
- Learning jQuery Third Edition
- Learning jQuery Third Edition
- Credits
- Foreword
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why subscribe
- Free access for Packt account holders
- What This Book Covers
- What you need for this book
- Who this book is for
- History of the jQuery project
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. Getting Started
- What jQuery does
- Why jQuery works well
- Our first jQuery-powered web page
- Downloading jQuery.
- Rebinding eventsSimulating user interaction
- Keyboard events
- Summary
- Further reading
- Exercises
- 4. Styling and Animating
- Inline CSS modification
- Basic hide and show
- Effects and speed
- Speeding in
- Fading in and fading out
- Sliding up and sliding down
- Compound effects
- Creating custom animations
- Building effects by hand
- Animating multiple properties at once
- Positioning with CSS
- Simultaneous versus queued effects
- Working with a single set of elements
- Bypassing the queue
- Manual queueing
- Working with multiple sets of elements
- Callbacks
- In a nutshell
- Summary
- Further reading.
- Setting up jQuery in an HTML documentAdding our jQuery code
- Finding the poem text
- Injecting the new class
- Executing the code
- The finished product
- Plain JavaScript vs. jQuery
- Development tools
- Firebug
- Summary
- 2. Selecting Elements
- The Document Object Model
- The () function
- CSS selectors
- Styling list-item levels
- Attribute selectors
- Styling links
- Custom selectors
- Styling alternate rows
- Form selectors
- DOM traversal methods
- Styling specific cells
- Chaining
- Accessing DOM elements
- Summary
- Further reading
- Exercises
- 3. Handling Events
- Performing tasks on page load.
- Timing of code executionMultiple scripts on one page
- Shortcuts for code brevity
- Passing an argument to the .ready() callback
- Simple events
- A simple style switcher
- Enabling the other buttons
- Event handler context
- Further consolidation
- Shorthand events
- Compound events
- Showing and hiding advanced features
- Highlighting clickable items
- The journey of an event
- Side effects of event bubbling
- Altering the journey: the event object
- Event targets
- Stopping event propagation
- Default actions
- Event delegation
- Methods for event delegation
- Removing an event handler
- Event namespacing.