Parameter
Type and default value
Description
activatedSlideID
String
'active_slide'
ID that is given to activated slide.
activeSlide
Number
null
Slide which is activated by default after displaying jAccordion. Slides are numbered from 1. First slide equals 1, second slide equals 2, etc.
autoplay
Boolean
false
Automatic rotation of the slides.
autoplayDelay
Number
3000
Time (in miliseconds) to display each slide when autoplay is set to true.
countdownMaxWidth
Number
Open slide width
Horizontal size (in px) of countdown visualizer. See picture
event
String
'mouseenter'
Mouse event used to trigger slide opening. I highly recommend to use 'click' or 'mouseenter'.
onSlideOpened
Callback
null
The callback parameter is a function to be executed after the slide opening is complete. Activated slide is available as $(this). See the documentation for more information plus video tutorial.
onSlideStartClosing
Callback
null
The callback parameter is a function to be executed as soon as a slide starts closing. This slide is available as $(this). See the documentation for more information plus video tutorial.
onSlideStartOpening
Callback
null
The callback parameter is a function to be executed as soon as a slide starts opening. This slide is available as $(this). See the documentation for more information plus video tutorial.
pauseOnHover
Boolean
true
Automatic rotation is paused when mouse is over the plugin (autoplay has to be set to true).
preloaderImg
String
'images/ajax-loader.gif'
Path to image that is displayed during preloading. You can find some animated .gif images on AjaxLoad.
preloadFadeInDuration
Number
500
The duration (in miliseconds) of fadeIn animation after preloading is done. usePreloader has to be set to true.
slideDuration
Number
500
The duration of animating opening/closing slide (in miliseconds).
slidesEasing
String
'swing'
A custom easing function for the animation. I highly recommend to use easing jQuery plugin to get lots of easing methods.
spacing
Number
0
The width (in pixels) separating each slide.
sticky
Boolean
false
One slide always remains open.
usePreloader
Boolean
true
If true and jAccordion includes images, it's displayed after all of them are loaded.
Комментариев нет:
Отправить комментарий