我在我的网站上使用自适应幻灯片插件(http://responsiveslides.com/)。我设置了以下选项:
jQuery(".rslides").responsiveSlides({
auto: true, // Boolean: Animate automatically, true or false
speed: 100, // Integer: Speed of the transition, in milliseconds
timeout: 10000, // Integer: Time between slide transitions, in milliseconds
pager: false, // Boolean: Show pager, true or false
nav: true, // Boolean: Show navigation, true or false
random: false, // Boolean: Randomize the order of the slides, true or false
pause: true, // Boolean: Pause on hover, true or false
pauseControls: true, // Boolean: Pause when hovering controls, true or false
prevText: "Previous", // String: Text for the "previous" button
nextText: "Next", // String: Text for the "next" button
maxwidth: "", // Integer: Max-width of the slideshow, in pixels
navContainer: "", // Selector: Where controls should be appended to, default is after the 'ul'
manualControls: "", // Selector: Declare custom pager navigation
namespace: "rslides", // String: Change the default namespace used
before: function(){}, // Function: Before callback
after: function(){} // Function: After callback
});
然而,第一张幻灯片显示的时间比其他幻灯片长很多。有谁知道为什么会这样,以及如何解决它?
您可以在http://www.hbprojectsltd.co.uk/testimonials
看到幻灯片谢谢!