O'Reilly logo

MooTools 1.3 Cookbook by Jay Larry G. Johnston

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating an application task ribbon that slides in

Ribbons are used these days to hold options for users; let's create a ribbon for our application.

Getting ready

The term ribbon is widely used to describe an area of an application or operating system that contains widgets, links, or other information. Look around your operating system for a ribbon to generate ideas on what you might add to a ribbon on your web application.

How to do it...

Not all ribbons have animation, but most do. Ours will slide in and out based on the mouse cursor entering and leaving the defined ribbon area.

How to do it...
<script type="text/javascript" src="mootools-1.3.0.js"></script> <!-- ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required