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

Animating multiple CSS properties with Fx.Morph


When you want to transition more than one CSS property at the same time, you'll have to use another Fx class extension, Fx.Morph. The biggest difference between Fx.Morph and Fx.Tween is that the former is able to transition more than one CSS property simultaneously (imagine transitioning the color, width, and height of an element at the same time).

Let's learn about Fx.Morph through an example!