Skip to Main Content
MooTools 1.3 Cookbook
book

MooTools 1.3 Cookbook

by Jay L Johnston
July 2011
Intermediate to advanced content levelIntermediate to advanced
276 pages
5h 11m
English
Packt Publishing
Content preview from MooTools 1.3 Cookbook

Showing a notification to a user that glows momentarily

Usability means making interfaces that really speak to users; speak volumes by getting their attention.

Getting ready

Whenever we are getting ready to introduce elements that move or grow or appear or disappear, we always take into consideration non-sighted users. Be ready for disabled users.

How to do it...

Prepare a form element that has a message that follows the element in the DOM. Any error message can be written there, perhaps some message regarding validation of the element. Let us just whimsically play a name game to demonstrate.

<form action="" method="get"> <label for="name">Name: </label> <input type="text" name="name" value=""/> <span id="error_message"></span> <br/> <input type="button" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Jump Start Web Performance

Jump Start Web Performance

Craig Buckler

Publisher Resources

ISBN: 9781849515689Other