0

我将此插件用于滑块

网站 > http://basic-slider.com/documentation/ 脚本 > https://github.com/jcobb/basic-jquery-slider/blob/807132214df170e1726e05f272fb75649687f268/js/basic-jquery-slider.js

基本配置是带有循环滑块,在图像末尾没有停止。是否可以更改/编辑相同的参数以允许这样做?

谢谢

4

1 回答 1

0

明显不是

defaults = {
// Width + Height used to ensure consistency
                width: 700,
                height: 300,
// The type of animation (slide or fade)
                animation: 'fade',
                // The duration in ms of the transition between slides
                animationDuration: 450,
                // Automatically rotate through the slides
automatic: true,
// Delay in ms between auto rotation of the slides
                rotationSpeed: 4000,
// Pause the slider when any elements receive a hover event
                hoverPause: true,
// Show the manual slider controls
                showControls: true,
// Center the controls vertically
                centerControls: true,
// Text to display in next/prev buttons
                nextText: 'Next',
                prevText: 'Prev',
// Show positional markers
                showMarkers: true,
// Center the positional indicators
                centerMarkers: true,
// Allow navigation with arrow keys
                keyboardNav: true,
// Use image title text as caption
                useCaptions: true
            }

此外,这不是滑块的想法,您可能应该使用画廊插件或其他东西,也许您会在这里找到一个:http: //vandelaydesign.com/blog/web-development/jquery-image-galleries/

于 2012-06-22T11:46:19.047 回答