次の設定で、Web サイトのいくつかの証言にレスポンシブ スライドショー ( 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
});
ただし、最初のスライドは他のスライドのほぼ 2 倍続きます。これを修正する方法、またはなぜそれが起こっているのか誰かが知っていますか? どんな助けでも本当に感謝します!
このページでエラーを確認できます: http://www.hbprojectsltd.co.uk/testimonials