jQuery带二维码返回顶部右侧悬浮在线客服代码

来源:https://www.sucaihuo.com/js/2168.html 2017-06-14 22:06浏览(1397) 收藏

jQuery带二维码返回顶部右侧悬浮在线客服代码,橙色简约固定在网页右侧的飘浮功能导航网页特效。
jQuery带二维码返回顶部右侧悬浮在线客服代码
分类:悬浮层/弹出层 > 客服 难易:初级
查看演示 下载资源 下载积分: 20 积分

js代码

<script type="text/javascript" src="js/jquery-1.7.min.js"></script>
<script>
$(function() {
	// 悬浮窗口
	$(".yb_conct").hover(function() {
		$(".yb_conct").css("right", "5px");
		$(".yb_bar .yb_ercode").css('height', '200px');
	}, function() {
		$(".yb_conct").css("right", "-127px");
		$(".yb_bar .yb_ercode").css('height', '53px');
	});
	// 返回顶部
	$(".yb_top").click(function() {
		$("html,body").animate({
			'scrollTop': '0px'
		}, 300)
	});
});
</script>
评论0
头像

系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791

1 2