我开发了图片幻灯片。我想更改滑块动画时间。但是无法改变图像的动画时间,我该如何解决?请帮助我,我提交我的代码请检查一下,我想动画,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);
答案 0 :(得分:1)
我假设你遇到了flexslider的问题,你看过文档(slideshowSpeed)吗?
https://github.com/woothemes/FlexSlider/wiki/FlexSlider-Properties#slideshowspeed