
一款简约时尚网页右侧带返回顶部按钮的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>










暂无评论内容