|
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_cycle.js
Contains the Fx.Cycle Class and the Fx.Cycle extensions for creating powerful cycle effects, based on differentstyle transitions. Contains Class Fx.Cycle and its extensions, Class Element Summary
With the Fx.Cycle extensions, you can create the "cycle effect" which means a slideshow based on a particularstyle transition. This file contains 14 Fx.Cycle extensions, like Fx.Cycle.zoom and Fx.Cycle.fade.In addiction, you can create your own cycle effect, either customizing an existing one or creating a new one.Below you can find all the Fx.Cycle extensions. Extends Fx.Morph Constructor new Fx.Cycle.cycleType (element, options) Properties
Options
enable:
Events
Methods
Note You can use the keywords 'this.height' and 'this.width' into the animeIn, animeOut and cssBefore 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}); Contains the cycle method which returns a determinate Fx.Cycle instance Extends Class Element Methods
top method cycle returns an Fx.Cycle instance of the given type
Arguments
Example // slideUp instance var slideUp = $('myElement').cycle('slideUp'); // diagonalUp instance var diagonalUp = $('myElement').cycle('diagonalUp', {duration: 4000, steps: 4000});
Documentation By
Riccardo Degni -
powered by MakeDocs, CMS by RD |