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

Dragging window widgets around on a screen

Let us face it, visitors go ga-ga over dragging and transparency. So let us add some transparency to our window widget module and drag it around the screen for effect.

Dragging window widgets around on a screen

Getting ready

Get ready to create some intelligent window widgets! Remember to include both MooTools Core and the MooTools More in the head of our document.

How to do it...

Use a collection of elements to place drag-and-drop code on a group of like items.

<div id="page"> <h1>My Homepage</h1> <h2>Where I can rearrange my window widgets!</h2> <small><em>Window widget locations can be saved only after an account is created.</em></small><br/> <div ...
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