You are previewing Web Development with jQuery.
O'Reilly logo
Web Development with jQuery

Book Description

Newly revised and updated resource on jQuery's many features and advantages

Web Development with jQuery offers a major update to the popular Beginning JavaScript and CSS Development with jQuery from 2009. More than half of the content is new or updated, and reflects recent innovations with regard to mobile applications, jQuery mobile, and the spectrum of associated plugins.

Readers can expect thorough revisions with expanded coverage of events, CSS, AJAX, animation, and drag and drop. New chapters bring developers up to date on popular features like jQuery UI, navigation, tables, interactive capabilities, and audio and video. The book focuses on the new features of jQuery that improve performance and speed, providing huge advantages over traditional JavaScript.

  • Offers new and revised content throughout the book, which focuses on the most recent features and capabilities of jQuery

  • Serves as an essential instructional tool for web developers with JavaScript and CSS knowledge who want to learn more

  • Advises readers on how to best use jQuery's powerful, easy-to-use features to create dynamic web pages and web applications

  • This resource provides a deep understanding of jQuery and sets readers up for successful interactions with all it has to offer.

    Table of Contents

    1. Introduction
      1. Who This Book Is For
      2. What This Book Covers
      3. How This Book Is Structured
      4. What You Need to Use This Book
      5. Conventions
      6. Source Code
      7. Errata
      8. p2p.wrox.com
    2. Part I: The jQuery API
      1. Chapter 1: Introduction to jQuery
        1. What jQuery Can Do for You
        2. Who Develops jQuery?
        3. Obtaining jQuery
        4. Installing jQuery
        5. Programming Conventions
        6. Summary
      2. Chapter 2: Selecting and Filtering
        1. The Origin of the Selectors API
        2. Using the Selectors API
        3. Filtering a Selection
        4. Slicing a Selection
        5. Adding to a Selection
        6. Summary
        7. Exercises
      3. Chapter 3: Events
        1. The Various Event Wrapper Methods
        2. Attaching Other Events
        3. Attaching Persistent Event Handlers
        4. Removing Event Handlers
        5. Creating Custom Events
        6. Summary
        7. Exercises
      4. Chapter 4: Manipulating Content and Attributes
        1. Setting, Retrieving, and Removing Attributes
        2. Setting Multiple Attributes
        3. Manipulating Class Names
        4. Manipulating HTML and Text Content
        5. Replacing Elements
        6. Removing Content
        7. Cloning Content
        8. Summary
        9. Exercises
      5. Chapter 5: Iteration of Arrays and Objects
        1. Enumerating Arrays
        2. Filtering Selections and Arrays
        3. Mapping a Selection or an Array
        4. Array Utility Methods
        5. Summary
        6. Exercises
      6. Chapter 6: CSS
        1. Working with CSS Properties
        2. jQuery's Pseudo-Classes
        3. Obtaining Outer Dimensions
        4. Summary
        5. Exercises
      7. Chapter 7: AJAX
        1. Making a Server Request
        2. Loading HTML Snippets from the Server
        3. Dynamically Loading JavaScript
        4. AJAX Events
        5. Summary
        6. Exercises
      8. Chapter 8: Animation and Easing Effects
        1. Showing and Hiding Elements
        2. Sliding Elements
        3. Fading Elements
        4. Custom Animation
        5. Animation Options
        6. Summary
        7. Exercises
      9. Chapter 9: Plugins
        1. Writing a Plugin
        2. Good Practice for jQuery Plugin Development
        3. Summary
        4. Exercises
      10. Chapter 10: Scrollbars
        1. Getting the Position of a Scrollbar
        2. Scrolling to a Particular Element within a Scrolling <div>
        3. Scrolling to the Top
        4. Summary
        5. Exercises
      11. Chapter 11: HTML5 Drag and Drop
        1. Implementing Drag and Drop
        2. Implementing Drag-and-Drop File Uploads
        3. Summary
        4. Exercises
    3. Part II: jQuery UI
      1. Chapter 12: Draggable and Droppable
        1. Making Elements Draggable
        2. Designating Drop Zones for Draggable Elements
        3. Summary
        4. Exercises
      2. Chapter 13: Sortable
        1. Making a List Sortable
        2. Customizing Sortable
        3. Saving the State of Sorted Lists
        4. Summary
        5. Exercises
      3. Chapter 14: Selectable
        1. Introducing the Selectable Plugin
        2. Summary
        3. Exercises
      4. Chapter 15: Accordion
        1. Building an Accordion UI
        2. Changing the Default Pane
        3. Changing the Accordion Event
        4. Setting the Header Elements
        5. Summary
        6. Exercises
      5. Chapter 16: Datepicker
        1. Implementing a Datepicker
        2. Localizing the Datepicker
        3. Summary
        4. Exercises
      6. Chapter 17: Dialog
        1. Implementing a Dialog
        2. Styling a Dialog
        3. Making a Modal Dialog
        4. Auto-Opening the Dialog
        5. Controlling Dynamic Interaction
        6. Animating the Dialog
        7. Working with Dialog Events
        8. Summary
        9. Exercises
      7. Chapter 18: Tabs
        1. Implementing Tabs
        2. Styling the Tabbed User Interface
        3. Loading Remote Content via AJAX
        4. Animating Tab Transitions
        5. Summary
        6. Exercises
    4. Part III: Popular Third-Party jQuery Plugins
      1. Chapter 19: Tablesorter
        1. Sorting a Table
        2. Summary
        3. Exercises
      2. Chapter 20: Creating an Interactive Slideshow
        1. Creating a Slideshow
        2. Summary
        3. Exercises
      3. Chapter 21: Working with HTML5 Audio and Video
        1. Downloading the MediaElement Plugin
        2. Configuring the MediaElement Plugin
        3. Creating an HTML Structure That Enables Fallback Video/Audio Plugins for Older Browsers
        4. Implementing h.264 Video Content
        5. Customizing Player Controls
        6. Controlling When the Download of Media Begins
        7. Summary
        8. Exercises
      4. Chapter 22: Creating a Simple WYSIWYG Editor
        1. Making an Element Editable with the contenteditable Attribute
        2. Creating Buttons to Apply Bold, Italic, Underline, Font, and Font Size
        3. Creating a Selection
        4. Storing a Selection
        5. Restoring a Selection
        6. Summary
        7. Exercises
    5. Part IV: Appendices
      1. Appendix A: Exercise Answers
        1. Chapter 2
        2. Chapter 3
        3. Chapter 4
        4. Chapter 5
        5. Chapter 6
        6. Chapter 7
        7. Chapter 8
        8. Chapter 9
        9. Chapter 10
        10. Chapter 11
        11. Chapter 12
        12. Chapter 13
        13. Chapter 14
        14. Chapter 15
        15. Chapter 16
        16. Chapter 17
        17. Chapter 18
        18. Chapter 19
        19. Chapter 20
        20. Chapter 21
        21. Chapter 22
      2. Appendix B: jQuery Selectors
      3. Appendix C: Selecting, Traversing, and Filtering
      4. Appendix D: Events
        1. Event Object
      5. Appendix E: Manipulating Content, Attributes, and Custom Data
      6. Appendix F: More Content Manipulation
      7. Appendix G: AJAX Methods
      8. Appendix H: CSS
      9. Appendix I: Utilities
      10. Appendix J: Draggable and Droppable
        1. Draggable UI Object Options
        2. Droppable UI Object Options
      11. Appendix K: Sortable
      12. Appendix L: Selectable
        1. Notes
      13. Appendix M: Animation and Easing Effects
      14. Appendix N: Accordion
        1. Accordion UI Object Options
      15. Appendix O: Datepicker
      16. Appendix P: Dialog
      17. Appendix Q: Tabs
      18. Appendix R: Resizable
      19. Appendix S: Slider
      20. Appendix T: Tablesorter
      21. Appendix U: MediaElement
    6. Advertisement
    7. End User License Agreement