Find a copy online
Links to this item
ebookcentral.proquest.com Ebook Central Academic Complete
ebookcentral.proquest.com View Full Text
ebookcentral.proquest.com View Full Text

Find a copy in the library
Finding libraries that hold this item...
Details
Genre/Form: | Electronic books |
---|---|
Additional Physical Format: | Print version: Gube, Jacob. MooTools 1.2 Beginner's Guide. Birmingham : Packt Publishing, ©2009 |
Material Type: | Document, Internet resource |
Document Type: | Internet Resource, Computer File |
All Authors / Contributors: |
Jacob Gube; Garrick Cheung |
ISBN: | 9781847194596 1847194591 |
OCLC Number: | 797916768 |
Notes: | () versus document.getElementById(). |
Description: | 1 online resource (467 pages) |
Contents: | MooTools 1.2 Beginner's Guide; MooTools 1.2 Beginner's Guide; Credits; About the Authors; About the Reviewer; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Errata; Piracy; Questions; 1. MooTools and Me; What is MooTools?; Why use MooTools?; The advantages of using MooTools; Writing terse and elegant code; Extending native JavaScript; Cross-browser compatibility; Working with the Document Object Model; The advantage of using open-source projects; Downloading and installing MooTools. Time for action-downloading and installing the MooTools CoreWhat just happened?; Different MooTools downloads; The domready event listener; Rolling your own MooTools; MooTools Core; Time for action-exploring the MooTools Core Builder; What just happened?; Have a go hero -- explore the MooTools Core Builder output; MooTools More; Time for action-exploring the MooTools More Builder; What just happened?; The API concept; MooTools resources; MooTools Docs; MooTools Users Google groups; mooforum; The MooTorial; Summary; 2. Writing JavaScript with MooTools. Writing unobtrusive JavaScript with MooToolsAn ""obtrusive"" JavaScript example; What's so bad about it?; Don't repeat it if you don't have to; It'll be hard to maintain; It's a bad practice to have functionality in your content structure; Time for action-rewriting our script unobtrusively; What just happened?; Removing our inline event handlers; Using the DOM to handle events; Pop quiz -- rewriting our script unobstrusively; Creating MooTools classes; What the heck is a class?; Real-world analogy; Creating a MooTools class; The Implements property; The options property. The initialize methodOur own Dog class methods: .bark() and .sit(); Time for action-creating an instance of Dog; What just happened?; Have a go hero -- use the .sit() class method; Time for action-giving our class instance some custom options; Time for action-determining the value of our options; Extending classes; Time for action-extending the ShowDog class with the Dog class; What just happened?; Class inheritance; Have a go hero -- doing more with the thing; Using MooTools classes; The concept of chainability; The Chain class; A Chain example; A look ahead: Chaining Fx .Tween. Time for action-create a chain of Fx. Tween methodsWhat just happened?; Isn't MooTools classy?; Chainability; Have a go hero -- doing more with chaining Fx. Tween methods; Summary; 3. Selecting DOM Elements; MooTools and CSS selectors; Working with the () and () functions; The () dollar function; The () dollars function; When to use which; Time for action-selecting an element with the dollar function; Time for action-selecting elements with the dollars function; Time for action-selecting multiple sets of elements with the dollars function; What just happened? |
Abstract:
Learn how to create dynamic, interactive, and responsive cross-browser web applications using this popular JavaScript framework.
Reviews
User-contributed reviews
Add a review and share your thoughts with other readers.
Be the first.
Add a review and share your thoughts with other readers.
Be the first.


Tags
Add tags for "MooTools 1.2 Beginner's Guide.".
Be the first.