网页轮播的这个JS怎么修改实现鼠标经过不会停顿
那个大师给我改下给你们查看地址http://www.
http://www.
怎么修改都搞补丁 有点菜
只要实现首页轮播鼠标放上去继续播放就好了
http://www. 这是首页
<?php require('footer.php'); ?>
<script type="text/javascript" src="js/slick.min.js"></script>
<script type="text/javascript" src="js/slider.js"></script>
<script type="text/javascript">
$('.flexslider').flexslider({
animation: "fade",
slideshowSpeed: 1500,
pauseOnHover: true,
before: function (slider) {
slider.pause();
slider.play();
}
});
$('.case-slide').slick({
dots: true,
slidesToShow: 1,
slidesToScroll: 1,
autoplaySpeed: 2000,
});
$('.case-slide-m').slick({
dots: false,
slidesToShow: 1,
slidesToScroll: 1,
autoplaySpeed: 2000,
});
$('.m-ul-list2').slick({
dots: false,
slidesToShow: 1,
slidesToScroll: 1,
autoplaySpeed: 2000,
});
$('.news-slide .ul-list3').slick({
dots: false,
infinite: false,
slidesToShow: 4,
slidesToScroll: 1,
autoplaySpeed: 2000,
});
$('.page-btn .prev').click(function(){
$(".tab-cur .slick-prev").trigger('click');
});
$('.page-btn .next').click(function(){
$(".tab-cur .slick-next").trigger('click');
});
$(window).scroll(function () {
var sT = $(window).scrollTop();
if (sT > 0) {
$("").addClass("headFixed");
} else {
$("").removeClass("headFixed");
}
});
$(".case-slide li").hover(function(){
$(this).siblings('li').find('span').fadeToggle();
});
</script>
[此贴子已经被作者于2017-3-24 11:27编辑过]