Home >Web Front-end >JS Tutorial >Chinese description of parameters of JQuery plug-in jcarousellite_jquery

Chinese description of parameters of JQuery plug-in jcarousellite_jquery

WBOY
WBOYOriginal
2016-05-16 16:00:041345browse

Parameter description:

btnPrev string The class name of the previous button, such as btnPrev: ".prev"

btnNext string The class name of the next button, such as btnPrev: ".prev"

btnGo array Custom scroll position, similar to slide effect setting, with tabs, according to the order of the array, button 1 button 2 button N, as follows, the button with class name 1 is the first button: [" .1", ".2"]

mouseWheel bool Whether the mouse wheel can control scrolling up and down, optional: false, true, default false

auto int Specifies how many seconds the content will automatically scroll periodically. The default is empty (null), which means no scrolling. If set, the unit is milliseconds, such as 1 second is 1000

speed int The speed of sliding. You can try 800 1000 1500. Setting it to 0 will delete the effect

easing string buffering effect name, such as: easing: "bounceout", requires the easing pluin in jquery (buffer plug-in implementation), only applicable to jq1.2

vertical bool Whether to scroll vertically, optional: false, true, default false

circular bool Whether to scroll circularly, the default is true, if it is false, scrolling will stop when it reaches the last one

visible int Visible quantity, can be a decimal, such as 2.5 is 2.5 li

start int The starting point, the default is 0

scroll int Number of li scrolled each time

beforeStart func Function that is called back when scrolling starts, you can pass in object parameters beforeStart: function(a) { alert("The starting object is: " a)}

afterEnd func is a function that is called back when scrolling ends. The usage method is the same as above

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn