jQuery页面滚动弹出网站在线客服代码

jQuery页面滚动弹出网站在线客服代码-精品资源网
jQuery页面滚动弹出网站在线客服代码
此内容为免费资源,请登录后查看
0
免费资源

jQuery页面滚动弹出网站在线客服代码

一款简约时尚网页右侧带返回顶部按钮的jQuery网站在线客服代码,页面滚动自动向上弹出客服代码。

js代码

<script type=\"text/javascript\">
    $(window).scroll(function () {
        if ($(this).scrollTop() > 100) {
            $(\".c_meau\").stop().show().animate({ bottom: \'100px\' }, 300);
        }
        else {
            $(\".c_meau\").stop().animate({ bottom: \'-430px\' }, 300);
        }
    });
    $(\'.c_meau .fr_t\').click(function () {
        $(\'body,html\').animate({ scrollTop: 0 }, 500);
        $(\".c_meau\").animate({ bottom: \'-380px\', opacity: \'0\' }, 500);
        return false;
    });
</script>

© 版权声明
THE END
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容