Vai al contenuto principale della pagina

Learning jQuery [[electronic resource] ] : create better interaction, design, and Web development with simple JavaScript techniques / / Jonathan Chaffer, Karl Swedberg ; [foreword by John Resig]



(Visualizza in formato marc)    (Visualizza in BIBFRAME)

Autore: Chaffer Jonathan Visualizza persona
Titolo: Learning jQuery [[electronic resource] ] : create better interaction, design, and Web development with simple JavaScript techniques / / Jonathan Chaffer, Karl Swedberg ; [foreword by John Resig] Visualizza cluster
Pubblicazione: Birmingham, England, : Packt Pub., 2011
Edizione: 3rd ed.
Descrizione fisica: 1 online resource (428 p.)
Disciplina: 005.133
005.2762
Soggetto topico: JavaScript (Computer program language)
Web site development
Altri autori: SwedbergKarl  
ResigJohn  
Note generali: Includes index.
Nota di bibliografia: Includes index.
Nota di contenuto: Cover; Copyright; Credits; Foreword; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started; What jQuery does; Why jQuery works well; Our first jQuery-powered web page; Downloading jQuery; Setting up jQuery in an HTML document; Adding 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; Chapter 2: Selecting Elements; The Document Object Model; The () function; CSS selectors; Styling list-item levels
Attribute selectorsStyling links; Custom selectors; Styling alternate rows; Form selectors; DOM traversal methods; Styling specific cells; Chaining; Accessing DOM elements; Summary; Further reading; Exercises; Chapter 3: Handling Events; Performing tasks on page load; Timing of code execution; Multiple 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 itemsThe 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; Rebinding events; Simulating user interaction; Keyboard events; Summary; Further reading; Exercises; Chapter 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 handAnimating 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; Exercises; Chapter 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 elementsCloning for pull quotes; Content getter and setter methods; Further style adjustments; DOM manipulation methods in a nutshell; Summary; Further reading; Exercises; Chapter 6: Sending Data with Ajax; Loading data on demand; Appending HTML; Working with JavaScript objects; Retrieving JSON; Global jQuery functions; Executing a script; Loading an XML document; Choosing a data format; Passing data to the server; Performing a GET request; Performing a POST request; Serializing a form; Delivering different content for Ajax requests; Keeping an eye on the request; Error handling
Ajax and events
Sommario/riassunto: Create better interaction, design, and web development with simple JavaScript techniques
Titolo autorizzato: Learning jQuery  Visualizza cluster
ISBN: 1-62198-902-X
1-283-28389-1
9786613283894
1-84951-655-3
Formato: Materiale a stampa
Livello bibliografico Monografia
Lingua di pubblicazione: Inglese
Record Nr.: 9910789728803321
Lo trovi qui: Univ. Federico II
Opac: Controlla la disponibilità qui
Serie: Community experience distilled.