bxSlider 配置参数:
mode: 'horizontal', // 'horizontal', 'vertical', 'fade' slider滾動的方向
infiniteLoop: true, // true, false - display first slide after last 循環
hideControlOnEnd: false, // true, false - if true, will hide 'next' control on last slide and 'prev' control on first
controls: true, // true, false - previous and next controls 是否顯示prev next
speed: 500, // integer - in ms, duration of time slide transitions will occupy 播放數度
easing: 'swing', // used with jquery.easing.1.3.js - see http://gsgd.co.uk/sandbox/jquery/easing/ for available options
pager: true, // true / false - display a pager
pagerSelector: null, // jQuery selector - element to contain the pager. ex: '#pager' 播放方式linear swing
pagerType: 'full', // 'full', 'short' - if 'full' pager displays 1,2,3... if 'short' pager displays 1 / 4 如果設置full,顯示1,2,3……,如果設置short,將顯示1/4 .
pagerLocation: 'bottom', // 'bottom', 'top' - location of pager 頁碼位置
pagerShortSeparator: '/', // string - ex: 'of' pager would display ex:顯示1 of 3
pagerActiveClass: 'pager-active', // string - classname attached to the active pager link 目前頁的classname
nextText: 'next', // string - text displayed for 'next' control 下一的文字
nextImage: '', // string - filepath of image used for 'next' control. ex: 'images/next.jpg' 可设置下一頁為圖
nextSelector: null, // jQuery selector - element to contain the next control. ex: '#next'
prevText: 'prev', // string - text displayed for 'previous' control 上一頁的文字
prevImage: '', // string - filepath of image used for 'previous' control. ex: 'images/prev.jpg' 上一頁的圖片
prevSelector: null, // jQuery selector - element to contain the previous control. ex: '#next'
captions: false, // true, false - display image captions (reads the image 'title' tag) 是否顯示圖片標題,讀取圖片title屬性。
captionsSelector: null, // jQuery selector - element to contain the captions. ex: '#captions'
auto: false, // true, false - make slideshow change automatically 自動播放開啟或關閉
autoDirection: 'next', // 'next', 'prev' - direction in which auto show will traverse 自動滾動的順序
autoControls: false, // true, false - show 'start' and 'stop' controls for auto show 自動滾動的控制键
autoControlsSelector: null, // jQuery selector - element to contain the auto controls. ex: '#auto-controls'
autoStart: true, // true, false - if false show will wait for 'start' control to activate
autoHover: false, // true, false - if true show will pause on mouseover 設置滑鼠mouseover 將自動滾動停止
autoDelay: 0, // integer - in ms, the amount of time before starting the auto show
pause: 3000, // integer - in ms, the duration between each slide transition delay时間
startText: 'start', // string - text displayed for 'start' control 開始按钮的文字
startImage: '', // string - filepath of image used for 'start' control. ex: 'images/start.jpg' 開始按钮圖
stopText: 'stop', // string - text displayed for 'stop' control 停止按钮的文字
stopImage: '', // string - filepath of image used for 'stop' control. ex: 'images/stop.jpg' 停止按钮圖
ticker: false, // true, false - continuous motion ticker mode (think news ticker)
// note: autoControls and autoControlsSelector apply to ticker!
tickerSpeed: 5000, // integer - has an inverse effect on speed. therefore, a value of 10000 will
// scroll very slowly while a value of 50 will scroll very quickly.
tickerDirection: 'next', // 'next', 'prev' - direction in which ticker show will traverse
tickerHover: false, // true, false - if true ticker will pause on mouseover
wrapperClass: 'bx-wrapper', // string - classname attached to the slider wraper
startingSlide: 0, // integer - show will start on specified slide. note: slides are zero based!
displaySlideQty: 1, // integer - number of slides to display at once
moveSlideQty: 1, // integer - number of slides to move at once
randomStart: false, // true, false - if true show will start on a random slide
Bxslider jq參數
Home
»
Unlabelled
» Bxslider jq參數
Share This To :
0 意見:
張貼留言