Produktbild: Web Development with jQuery

Web Development with jQuery

Fr. 56.90

inkl. gesetzl. MwSt., Versandkostenfrei


Beschreibung

Produktdetails

Einband

Taschenbuch

Verlag

John Wiley & Sons

Seitenzahl

672

Maße (B/H)

15/25 cm

Auflage

2. Auflage

Sprache

Englisch

ISBN

978-1-118-86607-8

Beschreibung

Produktdetails

Einband

Taschenbuch

Verlag

John Wiley & Sons

Seitenzahl

672

Maße (B/H)

15/25 cm

Auflage

2. Auflage

Sprache

Englisch

ISBN

978-1-118-86607-8

Noch keine Bewertungen vorhanden

Verfassen Sie die erste Bewertung zu diesem Artikel

Helfen Sie anderen Kundinnen und Kunden durch Ihre Meinung.

Kundinnen und Kunden meinen

Bewertungen (0)

Die Leseprobe wird geladen.
  • Produktbild: Web Development with jQuery
  • INTRODUCTION xixPART I: THE JQUERY APICHAPTER 1: INTRODUCTION TO JQUERY 3What jQuery Can Do for You 5Who Develops jQuery? 7Obtaining jQuery 7Installing jQuery 7Programming Conventions 10Markup and CSS Conventions 10JavaScript Conventions 15Summary 26CHAPTER 2: SELECTING AND FILTERING 27The Origin of the Selectors API 28Using the Selectors API 29Filtering a Selection 33Working Within the Context of a Selection 34Working with an Element's Relatives 45Slicing a Selection 58Adding to a Selection 59Summary 60CHAPTER 3: EVENTS 63The Various Event Wrapper Methods 63Attaching Other Events 68Attaching Persistent Event Handlers 69Removing Event Handlers 75Creating Custom Events 80Summary 86CHAPTER 4: MANIPULATING CONTENT AND ATTRIBUTES 89Setting, Retrieving, and Removing Attributes 89Setting Multiple Attributes 96Manipulating Class Names 97Manipulating HTML and Text Content 102Getting, Setting, and Removing Content 103Appending and Prepending Content 108Inserting Beside Content 111Inserting Beside Content via a Selection 112Wrapping Content 117Replacing Elements 123Removing Content 126Cloning Content 130Summary 133CHAPTER 5: ITERATION OF ARRAYS AND OBJECTS 135Enumerating Arrays 135Enumerating Objects 139Iterating a Selection 141Filtering Selections and Arrays 143Filtering a Selection 143Filtering a Selection with a Callback Function 146Filtering an Array 147Mapping a Selection or an Array 151Mapping a Selection 151Mapping an Array 153Array Utility Methods 156Making an Array 157Finding a Value Within an Array 158Merging Two Arrays 160Summary 162CHAPTER 6: CSS 165Working with CSS Properties 165jQuery's Pseudo-Classes 167Obtaining Outer Dimensions 167Summary 174CHAPTER 7: AJAX 177Making a Server Request 178What's the Difference Between GET and POST? 179RESTful Requests 180Formats Used to Transport Data with an AJAX Request 180Making a GET Request with jQuery 181Loading HTML Snippets from the Server 195Dynamically Loading JavaScript 200AJAX Events 205Using AJAX Event Methods 210Attaching AJAX Events to Individual Requests 211Sending a REST Request 213Summary 220CHAPTER 8: ANIMATION AND EASING EFFECTS 223Showing and Hiding Elements 223Sliding Elements 231Fading Elements 234Custom Animation 237Animation Options 241Summary 242CHAPTER 9: PLUGINS 243Writing a Plugin 243Writing a Simple jQuery Plugin 243Inspecting the Document Object Model 248Writing a Context Menu jQuery Plugin 250Good Practice for jQuery Plugin Development 265Summary 265CHAPTER 10: SCROLLBARS 267Getting the Position of a Scrollbar 267Scrolling to a Particular Element within a Scrolling 272Scrolling to the Top 276Summary 277CHAPTER 11: HTML5 DRAG AND DROP 279Implementing Drag and Drop 279Prerequisite Plugins 286Event Setup 289Implementing Drag-and-Drop File Uploads 294Adding the File Information Data Object 309Using a Custom XMLHttpRequest Object 313Additional Utilities 316Summary 319PART II: JQUERY UICHAPTER 12: DRAGGABLE AND DROPPABLE 323Making Elements Draggable 324Delegating Drop Zones for Draggable Elements 331Summary 337CHAPTER 13: SORTABLE 339Making a List Sortable 339Customizing Sortable 347Saving the State of Sorted Lists 354Summary 359CHAPTER 14: SELECTABLE 361Introducing the Selectable Plugin 361Summary 372CHAPTER 15: ACCORDION 373Building an Accordion UI 373Changing the Default Pane 376Changing the Accordion Event 379Setting the Header Elements 380Summary 382CHAPTER 16: DATEPICKER 383Implementing a Datepicker 383Custom Styling the Datepicker 385Setting the Range of Allowed Dates 392Localizing the Datepicker 395Setting the Date Format 395Localizing Datepicker Text 395Changing the Starting Weekday 397Summary 398CHAPTER 17: DIALOG 399Implementing a Dialog 399Styling a Dialog 401Making a Modal Dialog 407Auto-Opening the Dialog 409Controlling Dynamic Interaction 411Animating the Dialog 412Working with Dialog Events 413Summary 414CHAPTER 18: TABS 417Implementing Tabs 417Styling the Tabbed User Interface 420Loading Remote Content via AJAX 425Animating Tab Transitions 428Summary 429PART III: POPULAR THIRD-PARTY JQUERY PLUGINSCHAPTER 19: TABLESORTER 433Sorting a Table 433Summary 441CHAPTER 20: CREATING AN INTERACTIVE SLIDESHOW 443Creating a Slideshow 443Summary 457CHAPTER 21: WORKING WITH HTML5 AUDIO AND VIDEO 459Downloading the MediaElement Plugin 459Configuring the MediaElement Plugin 459Creating an HTML Structure That Enables Fallback Video/Audio Plugins for Older Browsers 461Implementing h.264 Video Content 462Customizing Player Controls 463Controlling When the Download of Media Begins 463Summary 464CHAPTER 22: CREATING A SIMPLE WYSIWYG EDITOR 467Making an Element Editable with the contenteditable Attribute 467Creating Buttons to Apply Bold, Italic, Underline, Font, and Font Size 469Creating a Selection 473Storing a Selection 478Restoring a Selection 479Summary 480PART IV: APPENDICESAPPENDIX A: EXERCISE ANSWERS 483APPENDIX B: JQUERY SELECTORS 493APPENDIX C: SELECTING, TRAVERSING, AND FILTERING 501APPENDIX D: EVENTS 509APPENDIX E: MANIPULATING CONTENT, ATTRIBUTES, AND CUSTOM DATA 523APPENDIX F: MORE CONTENT MANIPULATION 527APPENDIX G: AJAX METHODS 533APPENDIX H: CSS 543APPENDIX I: UTILITIES 547APPENDIX J: DRAGGABLE AND DROPPABLE 551APPENDIX K: SORTABLE 561APPENDIX L: SELECTABLE 569APPENDIX M: ANIMATION AND EASING EFFECTS 573APPENDIX N: ACCORDION 585APPENDIX O: DATEPICKER 589APPENDIX P: DIALOG 599APPENDIX Q: TABS 605APPENDIX R: RESIZABLE 611APPENDIX S: SLIDER 615APPENDIX T: TABLESORTER 619APPENDIX U: MEDIAELEMENT 623INDEX 627