|
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_cycles.js
Contains the Fx.Cycles Class and the Fx.Cycles extensions to create powerful cycle slideshows which altertwo slides at once Contains Class Fx.Cycles and its extensions, Class Element Summary
The Fx.Cycles Class provides a similar functionality to the Fx.Cycle Class. With the Fx.Cycles Class however,you can "cycle" two slides at once, to create more complex transitions. There are 13 transitions created by default,but you can create your own as with the Fx.Cycle Class. Extends Fx.Elements Constructor new Fx.Cycles.cycleType (element, options) Properties
Options
enable:
Events
Methods
Note You can use the keywords 'this.height' and 'this.width' into the animeIn, animeOut, cssBefore, cssAfter and reset methods,to refer respectively to the images' height and width. Using the keyword 'this.parentHeight' and 'this.parentWidth'you can refer to the parent element dimensions.In addiction, you can use the keywords 'this.currSlide' and 'this.nextSlide' to refer respectively to the current andthe next slide. top method next switches to the next slide
Example fx.next(); top method prev switches to the previous slide
Example fx.prev(); top method goTo swicthes to the given slide
Arguments
Example fx.goTo(2); top method toFirst switches to the first slide
Example fx.toFirst(); top method toLast switches to the last slide
Example fx.toLast(); top method autostart enables the cycle slideshow
Example fx.autostart(); top method stop stops the slideshow either if start method has been called or autostart option has been enabled
Example fx.stop(); top method animeIn sets the animeIn properties
Arguments
Example fx.animeIn({top: 200, left: 200}); top method animeOut sets the animeOut properties
Arguments
Example fx.animeOut({top: -200, opacity: 0}); top method cssBefore sets the cssBefore properties
Arguments
Example fx.cssBefore({left: 200, opacity: 1, height: 0, width: 0}); top method cssAfter sets the cssAfter properties
Arguments
Example fx.cssAfter({left: 0, opacity: 0, height: 200}); top method reset sets the reset properties
Arguments
Example fx.reset({top: 200, opacity: 1, width: 0}); Contains the cycles method which returns a determinate Fx.Cycles instance Extends Class Element Methods
top method cycles returns an Fx.Cycles instance of the given type
Arguments
Example // scrollUp instance var scrollUp = $('myElement').cycles('scrollUp'); // turnUp instance var turnUp = $('myElement').cycles('turnUp', {duration: 2000, steps: 4000});
Documentation By
Riccardo Degni -
powered by MakeDocs, CMS by RD |