Kategorien
E-Books
-
Wirtschaft
- Bitcoin
- Geschäftsfrau
- Coaching
- Controlling
- E-Business
- Ökonomie
- Finanzen
- Börse und Investitionen
- Persönliche Kompetenzen
- Computer im Büro
- Kommunikation und Verhandlungen
- Kleines Unternehmen
- Marketing
- Motivation
- Multimedia-Training
- Immobilien
- Überzeugung und NLP
- Steuern
- Sozialpolitik
- Handbȕcher
- Präsentationen
- Führung
- Public Relation
- Berichte, Analysen
- Geheimnis
- Social Media
- Verkauf
- Start-up
- Ihre Karriere
- Management
- Projektmanagement
- Personal (HR)
-
Für Kinder
-
Für Jugendliche
-
Bildung
-
Enzyklopädien, Wörterbücher
-
E-Presse
- Architektura i wnętrza
- Biznes i Ekonomia
- Haus und Garten
- E-Business
- Finanzen
- Persönliche Finanzen
- Unternehmen
- Fotografie
- Informatik
- HR und Gehaltsabrechnung
- Computer, Excel
- Buchhaltung
- Kultur und Literatur
- Wissenschaftlich und akademisch
- Umweltschutz
- meinungsbildend
- Bildung
- Steuern
- Reisen
- Psychologie
- Religion
- Landwirtschaft
- Buch- und Pressemarkt
- Transport und Spedition
- Gesundheit und Schönheit
-
Geschichte
-
Informatik
- Office-Programme
- Datenbank
- Bioinformatik
- IT Branche
- CAD/CAM
- Digital Lifestyle
- DTP
- Elektronik
- Digitale Fotografie
- Computergrafik
- Spiele
- Hacking
- Hardware
- IT w ekonomii
- Wissenschaftliche Pakete
- Schulbücher
- Computergrundlagen
- Programmierung
- Mobile-Programmierung
- Internet-Server
- Computernetzwerke
- Start-up
- Betriebssysteme
- Künstliche Inteligenz
- Technik für Kinder
- Webmaster
-
Andere
-
Fremdsprachen lernen
-
Kultur und Kunst
-
Lektüre
-
Literatur
- Anthologien
- Ballade
- Biografien und Autobiografien
- Für Erwachsene
- Drama
- Tagebücher, Memoiren, Briefe
- Epos
- Essay
- Science Fiction
- Felietonys
- Fiktion
- Humor, Satire
- Andere
- Klassisch
- Krimi
- Sachbücher
- Belletristik
- Mity i legendy
- Nobelpreisträger
- Kurzgeschichten
- Gesellschaftlich
- Okultyzm i magia
- Erzählung
- Erinnerungen
- Reisen
- Gedicht
- Poesie
- Politik
- Populärwissenschaftlich
- Roman
- Historischer Roman
- Prosa
- Abenteuer
- Journalismus
- Reportage
- Romans i literatura obyczajowa
- Sensation
- Thriller, Horror
- Interviews und Erinnerungen
-
Naturwissenschaften
-
Sozialwissenschaften
-
Schulbücher
-
Populärwissenschaft und akademisch
- Archäologie
- Bibliotekoznawstwo
- Filmwissenschaft
- Philologie
- Polnische Philologie
- Philosophie
- Finanse i bankowość
- Erdkunde
- Wirtschaft
- Handel. Weltwirtschaft
- Geschichte und Archäologie
- Kunst- und Architekturgeschichte
- Kulturwissenschaft
- Linguistik
- Literaturwissenschaft
- Logistik
- Mathematik
- Medizin
- Geisteswissenschaften
- Pädagogik
- Lehrmittel
- Populärwissenschaftlich
- Andere
- Psychologie
- Soziologie
- Theatrologie
- Teologie
- Theorien und Wirtschaftswissenschaften
- Transport i spedycja
- Sportunterricht
- Zarządzanie i marketing
-
Handbȕcher
-
Spielanleitungen
-
Professioneller und fachkundige Leitfaden
-
Jura
- Sicherheit und Gesundheit am Arbeitsplatz
- Geschichte
- Verkehrsregeln. Führerschein
- Rechtswissenschaften
- Gesundheitswesen
- Allgemeines. Wissenskompendium
- akademische Bücher
- Andere
- Bau- und Wohnungsrecht
- Zivilrecht
- Finanzrecht
- Wirtschaftsrecht
- Wirtschafts- und Handelsrecht
- Strafrecht
- Strafrecht. Kriminelle Taten. Kriminologie
- Internationales Recht
- Internationales und ausländisches Recht
- Gesundheitsschutzgesetz
- Bildungsrecht
- Steuerrecht
- Arbeits- und Sozialversicherungsrecht
- Öffentliches, Verfassungs- und Verwaltungsrecht
- Familien- und Vormundschaftsrecht
- Agrarrecht
- Sozialrecht, Arbeitsrecht
- EU-Recht
- Industrie
- Agrar- und Umweltschutz
- Wörterbücher und Enzyklopädien
- Öffentliche Auftragsvergabe
- Management
-
Führer und Reisen
- Afrika
- Alben
- Südamerika
- Mittel- und Nordamerika
- Australien, Neuseeland, Ozeanien
- Österreich
- Asien
- Balkan
- Naher Osten
- Bulgarien
- China
- Kroatien
- Tschechische Republik
- Dänemark
- Ägypten
- Estland
- Europa
- Frankreich
- Berge
- Griechenland
- Spanien
- Niederlande
- Island
- Litauen
- Lettland
- Mapy, Plany miast, Atlasy
- Miniführer
- Deutschland
- Norwegen
- Aktive Reisen
- Polen
- Portugal
- Andere
- Russland
- Rumänien
- Slowakei
- Slowenien
- Schweiz
- Schweden
- Welt
- Türkei
- Ukraine
- Ungarn
- Großbritannien
- Italien
-
Psychologie
- Lebensphilosophien
- Kompetencje psychospołeczne
- zwischenmenschliche Kommunikation
- Mindfulness
- Allgemeines
- Überzeugung und NLP
- Akademische Psychologie
- Psychologie von Seele und Geist
- Arbeitspsychologie
- Relacje i związki
- Elternschafts- und Kinderpsychologie
- Problemlösung
- Intellektuelle Entwicklung
- Geheimnis
- Sexualität
- Verführung
- Aussehen ind Image
- Lebensphilosophien
-
Religion
-
Sport, Fitness, Diäten
-
Technik und Mechanik
Hörbücher
-
Wirtschaft
- Bitcoin
- Geschäftsfrau
- Coaching
- Controlling
- E-Business
- Ökonomie
- Finanzen
- Börse und Investitionen
- Persönliche Kompetenzen
- Kommunikation und Verhandlungen
- Kleines Unternehmen
- Marketing
- Motivation
- Immobilien
- Überzeugung und NLP
- Steuern
- Handbȕcher
- Präsentationen
- Führung
- Public Relation
- Geheimnis
- Social Media
- Verkauf
- Start-up
- Ihre Karriere
- Management
- Projektmanagement
- Personal (HR)
-
Für Kinder
-
Für Jugendliche
-
Bildung
-
Enzyklopädien, Wörterbücher
-
Geschichte
-
Informatik
-
Andere
-
Fremdsprachen lernen
-
Kultur und Kunst
-
Lektüre
-
Literatur
- Anthologien
- Ballade
- Biografien und Autobiografien
- Für Erwachsene
- Drama
- Tagebücher, Memoiren, Briefe
- Epos
- Essay
- Science Fiction
- Felietonys
- Fiktion
- Humor, Satire
- Andere
- Klassisch
- Krimi
- Sachbücher
- Belletristik
- Mity i legendy
- Nobelpreisträger
- Kurzgeschichten
- Gesellschaftlich
- Okultyzm i magia
- Erzählung
- Erinnerungen
- Reisen
- Poesie
- Politik
- Populärwissenschaftlich
- Roman
- Historischer Roman
- Prosa
- Abenteuer
- Journalismus
- Reportage
- Romans i literatura obyczajowa
- Sensation
- Thriller, Horror
- Interviews und Erinnerungen
-
Naturwissenschaften
-
Sozialwissenschaften
-
Populärwissenschaft und akademisch
- Archäologie
- Philosophie
- Wirtschaft
- Handel. Weltwirtschaft
- Geschichte und Archäologie
- Kunst- und Architekturgeschichte
- Kulturwissenschaft
- Literaturwissenschaft
- Mathematik
- Medizin
- Geisteswissenschaften
- Pädagogik
- Lehrmittel
- Populärwissenschaftlich
- Andere
- Psychologie
- Soziologie
- Teologie
- Zarządzanie i marketing
-
Handbȕcher
-
Professioneller und fachkundige Leitfaden
-
Jura
-
Führer und Reisen
-
Psychologie
- Lebensphilosophien
- zwischenmenschliche Kommunikation
- Mindfulness
- Allgemeines
- Überzeugung und NLP
- Akademische Psychologie
- Psychologie von Seele und Geist
- Arbeitspsychologie
- Relacje i związki
- Elternschafts- und Kinderpsychologie
- Problemlösung
- Intellektuelle Entwicklung
- Geheimnis
- Sexualität
- Verführung
- Aussehen ind Image
- Lebensphilosophien
-
Religion
-
Sport, Fitness, Diäten
-
Technik und Mechanik
Videokurse
-
Datenbank
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersicherheit
-
Data Science
-
DevOps
-
Für Kinder
-
Elektronik
-
Grafik / Video / CAX
-
Spiele
-
Microsoft Office
-
Entwicklungstools
-
Programmierung
-
Persönliche Entwicklung
-
Computernetzwerke
-
Betriebssysteme
-
Softwaretest
-
Mobile Geräte
-
UX/UI
-
Web development
-
Management
Podcasts
Details zum E-Book
Einloggen, wenn Sie am Inhalt des Artikels interessiert sind.
Learning jQuery. Create better interaction, design, and web development with simple JavaScript techniques
jQuery Foundation, Karl Swedberg, Jonathan Chaffer
E-book
To build interesting, interactive sites, developers are turning to JavaScript libraries such as jQuery to automate common tasks and simplify complicated ones. Because many web developers have more experience with HTML and CSS than with JavaScript, the library's design lends itself to a quick start for designers with little programming experience. Experienced programmers will also be aided by its conceptual consistency.Learning jQuery Third Edition is revised and updated for version 1.6 of jQuery. You will learn the basics of jQuery for adding interactions and animations to your pages. Even if previous attempts at writing JavaScript have left you baffled, this book will guide you past the pitfalls associated with AJAX, events, effects, and advanced JavaScript language features.Starting with an introduction to jQuery, you will first be shown how to write a functioning jQuery program in just three lines of code. Learn how to add impact to your actions through a set of simple visual effects and to create, copy, reassemble, and embellish content using jQuery's DOM modification methods. The book will step you through many detailed, real-world examples, and even equip you to extend the jQuery library itself with your own plug-ins.
- Learning jQuery Third Edition
- Table of Contents
- 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
- Support files, eBooks, discount offers and more
- Preface
- 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
- 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
- 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 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 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
- Rebinding events
- Simulating user interaction
- Keyboard events
- Summary
- Further reading
- Exercises
- Performing tasks on page load
- 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
- Working with a single set of elements
- Summary
- Further reading
- Exercises
- 5. Manipulating the DOM
- Manipulating attributes
- Non-class attributes
- Value callbacks
- DOM element properties
- Non-class attributes
- 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
- Manipulating attributes
- 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
- Security limitations
- Using JSONP for remote data
- Additional options
- The low-level Ajax method
- Modifying default options
- Loading parts of an HTML page
- Summary
- Further reading
- Exercises
- Loading data on demand
- 7. Using Plugins
- Finding plugins and help
- How to use a plugin
- Downloading and referencing the Cycle plugin
- Simple plugin use
- Specifying plugin method parameters
- Parameter defaults
- Other types of plugins
- Custom selectors
- Global function plugins
- The jQuery UI plugin library
- Effects
- Color animations
- Class animations
- Advanced easing
- Additional effects
- Interaction components
- Widgets
- jQuery UI ThemeRoller
- Effects
- Summary
- Exercises
- 8. Developing Plugins
- Use of the $ alias in plugins
- Adding new global functions
- Adding multiple functions
- Adding jQuery object methods
- Object method context
- Implicit iteration
- Method chaining
- Method parameters
- Parameter maps
- Default parameter values
- Callback functions
- Customizable defaults
- The jQuery UI widget factory
- Creating a widget
- Destroying widgets
- Enabling and disabling widgets
- Accepting widget options
- Adding sub-methods
- Triggering widget events
- Plugin design recommendations
- Plugin distribution
- Summary
- Exercises
- 9. Advanced Selectors and Traversing
- Selecting and traversing revisited
- Dynamic table filtering
- Table row striping
- Combining filtering and striping
- More selectors and traversal methods
- Customizing and optimizing selectors
- Writing a custom selector plugin
- Selector performance
- Sizzle selector implementation
- Testing selector speed
- DOM traversal under the hood
- jQuery object properties
- The DOM element stack
- Writing a DOM traversal method plugin
- DOM traversal performance
- Improving performance using chaining
- Improving performance using caching
- Summary
- Further reading
- Exercises
- Selecting and traversing revisited
- 10. Advanced Events
- Events revisited
- Loading additional pages of data
- Displaying data on hover
- Event delegation
- Using jQuerys delegation methods
- Choosing a delegation method
- Delegating early
- Using a context argument
- Custom events
- Infinite scrolling
- Custom event parameters
- Throttling events
- Other ways to perform throttling
- Special events
- More about special events
- Summary
- Further reading
- Exercises
- Events revisited
- 11. Advanced Effects
- Animation revisited
- Observing and interrupting animations
- Determining the animation state
- Halting a running animation
- Caution when halting animations
- Global effect properties
- Globally disabling all effects
- Fine-tuning animation smoothness
- Defining effect durations
- Multi-property easing
- Deferred objects
- Animation promises
- Summary
- Further reading
- Exercises
- 12. Advanced DOM Manipulation
- Sorting table rows
- Server-side sorting
- Ajax sorting
- JavaScript sorting
- Moving and inserting elements, revisited
- Adding links around existing text
- Sorting simple JavaScript arrays
- Sorting DOM elements
- Storing data alongside DOM elements
- Performing additional precomputation
- Storing non-string data
- Alternating sort directions
- Using HTML5 custom data attributes
- Sorting and building rows with JSON
- Modifying the JSON object
- Rebuilding content on demand
- Advanced attribute manipulation
- Shorthand element creation
- DOM manipulation hooks
- Writing a CSS hook
- Summary
- Further reading
- Exercises
- Sorting table rows
- 13. Advanced Ajax
- Progressive enhancement with Ajax
- Harvesting JSONP data
- Ajax error handling
- The jqXHR object
- Ajax promises
- Caching responses
- Throttling Ajax requests
- Extending Ajax capabilities
- Data type converters
- Ajax prefilters
- Alternate transports
- Summary
- Further reading
- Exercises
- Progressive enhancement with Ajax
- A. JavaScript Closures
- Inner functions
- The great escape
- Variable scoping
- Interactions between closures
- Closures in jQuery
- Arguments to $(document).ready()
- Event handlers
- Binding handlers in loops
- Named and anonymous functions
- Memory leak hazards
- Accidental reference loops
- The Internet Explorer memory leak problem
- The good news
- Summary
- Inner functions
- B. Testing JavaScript with QUnit
- Downloading QUnit
- Setting up the document
- Organizing tests
- Adding and running tests
- Asynchronous testing
- Other types of tests
- Practical considerations
- Further reading
- Summary
- C. Quick Reference
- Selector expressions
- Simple CSS
- Position among siblings
- Position among matched elements
- Attributes
- Forms
- Other custom selectors
- DOM traversal methods
- Filtering
- Descendants
- Siblings
- Ancestors
- Collection manipulation
- Working with selected elements
- Event methods
- Binding
- Shorthand binding
- Special shorthands
- Triggering
- Shorthand triggering
- Utility
- Effect methods
- Predefined effects
- Custom animations
- Queue manipulation
- DOM manipulation methods
- Attributes and properties
- Content
- CSS
- Dimensions
- Insertion
- Replacement
- Removal
- Copying
- Data
- Ajax methods
- Issuing requests
- Request monitoring
- Configuration
- Utilities
- Deferred objects
- Object creation
- Methods of deferred objects
- Methods of promise objects
- Miscellaneous properties and functions
- Properties of the jQuery object
- Arrays and objects
- Object introspection
- Other
- Selector expressions
- Index
- Titel: Learning jQuery. Create better interaction, design, and web development with simple JavaScript techniques
- Autor: jQuery Foundation, Karl Swedberg, Jonathan Chaffer
- Originaler Titel: Learning jQuery. Create better interaction, design, and web development with simple JavaScript techniques
- ISBN: 9781849516556, 9781849516556
- Veröffentlichungsdatum: 2011-09-22
- Format: E-book
- Artikelkennung: e_3cix
- Verleger: Packt Publishing