标题:网页轮播的这个JS怎么修改实现鼠标经过不会停顿
只看楼主
a111869
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2017-3-24
 问题点数:0 回复次数:0 
网页轮播的这个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编辑过]

搜索更多相关主题的帖子: javascript slideshow animation require 网页 
2017-03-24 08:36



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-475444-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.345746 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved