Book Image

MooTools 1.2 Beginner's Guide

Book Image

MooTools 1.2 Beginner's Guide

Overview of this book

MooTools is a simple-to-use JavaScript library, ideal for people with basic JavaScript skills who want to elevate their web applications to a superior level. If you're a newcomer to MooTools looking to build dynamic, rich, and user-interactive web site applications this beginner's guide with its easy-to-follow step-by-step instructions is all you need to rapidly get to grips with MooTools.
Table of Contents (14 chapters)
MooTools 1.2 Beginner's Guide
Credits
About the Authors
About the Reviewer
Preface

Summary


In this chapter we learned about JavaScript animation effects:

  • We covered the basic Fx syntax and options available to you, so that you can have utmost control over your animation effects

  • We learned how to animate one CSS property with the Fx.Tween

  • We covered some useful effects methods in the Fx.Tween class: tween(), fade(), and highlight()

  • We then learned how to animate multiple CSS properties with Fx.Morph, as well as learned a shortcut method called morph() that allows us to quickly transition several CSS properties at once

  • Finally, we briefly covered other Fx methods for starting, cancelling, pausing, and resuming effect transitions

Now that we know about animation effects, it's time to move onto even more interactivity in our web pages, and next chapter, we're going to super-charge our web pages with Ajax!