moo:Effect on Load
Part of: Mootools Suite
Versions
moo:Effect on Load [1.1p3 documentation]: 20 Sep, 2008
Compatible:
moo:Effect on Load [1.1p3 bug-fix2]: 20 Sep, 2008
Compatible:




Download also includes:
Description
Adds ability to define and cause ‘effects on load’, as the name would suggest. Currently supports one onLoad event, but Fading and Sliding in are possible. I may add more effects ‘slots’ to each instance of the Action to allow for more features and operations.
For instance: This action will allow the designer to ‘set’ an item or container to be invisible until it is fully loaded into the browser. Want your navigation bar to appear as one block instead of small image fragments? Or maybe you want items to ‘load’ in a specific order? It is possible to set up those effects with this Action.
Note: Although the Action may be applied to all types of item, it may not have an effective result when viewed in the browser. Additionally, effects like ‘Slide’ manipulate an item’s margins. This will overwrite any ‘designed’ margins for the item, which is also the reason some items cannot be moved (the browser simply has no concept of ‘margin’ for certain items)
