CORE
NATIVE
TABLE
MAKE
CUSTOMIZE
EFFECTS
effects_base.js
effects_morph.js
effects_fade.js
effects_move.js
effects_extra.js
effects_toggle.js
effects_cycle.js
effects_cycles.js
VIRTUAL BOX
PLUG-IN
|
effects_toggle.js
Contains Class Fx.Toggle, Class Element Requires Summary Extends Fx.Tween Constructor new Fx.Toggle (element, options) Properties
Methods
Extends Fx.Tween, top method toggleHeight toggles the height property
Example var fx = new Fx.Toggle('element'); fx.toggleHeight(); top method toggleWidth toggles the width property
Example var fx = new Fx.Toggle('element'); fx.toggleWidth(); top method toggleOpacity toggles the opacity property
Example var fx = new Fx.Toggle('element'); fx.toggleOpacity(); top method toggleDisplay toggles the display property
Example var fx = new Fx.Toggle('element'); fx.toggleDisplay(); top method toggleVisibility toggles the visibility property
Example var fx = new Fx.Toggle('element'); fx.toggleVisibility(); top method toggleProperty toggles a specified CSS property, string or integer, from one value to another
Arguments
Example var fx = new Fx.Toggle('element'); fx.toggleProperty('color', 'blue', 'green'); fx.toggleProperty('color', 'blue', 'green', true); top method toggle shortcut to toggle some togglables properties
Arguments
Example var fx = new Fx.Toggle('fx'); // toggle height fx.toggle('height'); // toggle width fx.toggle('width'); // toggle opacity fx.toggle('opacity'); // toggle display fx.toggle('display'); // toggle visibility fx.toggle('visibility'); Contains the Element.toggle method
Extends Class Element Methods
top method toggle returns an Fx.Toggle instance
Example $('element').toggle({duration:2000}).toggleProperty('color', '#6666FF', '#000000', true);
Documentation By
Riccardo Degni -
powered by MakeDocs, CMS by RD |