gpt4 book ai didi

javascript - JS Slider 无法更改图像动画时间

转载 作者:行者123 更新时间:2023-12-03 08:37:07 26 4
gpt4 key购买 nike

我开发了图像幻灯片。我想更改 slider 动画时间。但是无法更改图像动画时间,我该如何解决它?请帮助我,我;我正在提交我的代码,请检查它,我想要动画,一张图像 2 分钟

功能

(function($, document, window){

$(document).ready(function(){

// Cloning main navigation for mobile menu
$(".mobile-navigation").append($(".main-navigation .menu").clone());

// Mobile menu toggle
$(".menu-toggle").click(function(){
$(".mobile-navigation").slideToggle();
});

$(".offer img, .news img").panr({
sensitivity: 150,
scale: false,
scaleOnHover: true,
scaleTo: 50.2,
scaleDuration: 55.25,
panY: true,
panX: true,
panDuration: 50.25,
resetPanOnMouseLeave: false
});

$(".testimonial-slider, .hero-slider").flexslider({
directionNav: false,
controlNav: true
});

if( $(".map").length ) {
$('.map').gmap3({
map: {
options: {
maxZoom: 14,
scrollwheel: false
}
},
marker:{
address: "40 Sibley St, Detroit",
// options: {
// icon: new google.maps.MarkerImage(
// "images/map-marker.png",
// new google.maps.Size(43, 53, "px", "px")
// )
// }
}
},
"autofit" );

}
});

$(window).load(function(){

});

})(jQuery, document, window);

最佳答案

我假设您在使用 flexslider 时遇到问题,您查看过文档 (slideshowSpeed) 吗?

https://github.com/woothemes/FlexSlider/wiki/FlexSlider-Properties#slideshowspeed

关于javascript - JS Slider 无法更改图像动画时间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33179391/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com