评论:全屏无缝滚动加透明遮罩效果  [查看原文]

所属分类:媒体-幻灯片和轮播图

 35631  413  19
当前第1页 / 共2页
    101brothers0
    2016/11/15 17:11:58
    下载 了 里面是没有demo页面 回复
    .0
    2016/8/8 11:08:31
     效果不错,加上自动效果更好 回复
    开始懂了0
    2016/3/31 18:03:02
    ?叫我杂先生 ??丶5
    2016/3/22 17:03:07

    没有实现自动播放的看这里,我自己修改了一下,实现自动播放加鼠标经过暂停。直接加到index.js最后面就行了。

    var int = null;
    $(".bannerBut ul li").hover((function() {
        window.clearInterval(int);
        $(this).addClass('hover').siblings('li').removeClass('hover');
        var _index1 = $(this).index();
        $('.bannerCon .scroll').stop().animate({
            left: -_index1 * 750
        }, 500);
    }), (function() {
        int = self.setInterval("auto_play()", 2500);
    }));
    int = self.setInterval("auto_play()", 2500);
    
    function auto_play() {
        _index1++;
        if (_index1 > 9) {
            _index1 = 1;
            $('.scroll').css('left', '0px');
            $('.scroll').animate({
                left: -_index1 * 750
            }, 500);
            $('.bannerBut ul li').eq(_index1).addClass('hover').siblings('li').removeClass('hover');
        } else {
            $('.bannerBut ul li').eq(_index1).addClass('hover').siblings('li').removeClass('hover');
            $('.scroll').animate({
                left: -_index1 * 750
            }, 500);
        }
    }
        西瓜0
        2016/3/22 17:03:18
        不错,支持!
    回复
    cangjiu0
    2016/3/17 11:03:42
    不错的插件,很实用 回复
    刘文智0
    2015/12/28 14:12:24
    丹青墨色0
    2015/11/11 23:11:46

    好像没有自动滚动啊

    回复
    shitou0
    2015/10/29 23:10:44
    hpstony0
    2015/10/14 9:10:11

    很实用 谢谢!!

    回复
    wuyong2010060
    2015/10/13 15:10:34
    Snail0
    2015/10/9 15:10:24

    很好的插件,谢谢提供

    回复
    激情奢华的魅力0
    2015/9/30 12:09:07

    插件不错,实用。

    回复
    慧心0
    2015/9/30 11:09:53

    不错的插件,很实用

    回复
    Edward0
    2015/9/29 18:09:40
    ?爆了0
    2015/9/20 17:09:41

讨论这个项目(19)回答他人问题或分享插件使用方法奖励jQ币 评论用户自律公约

取消回复