一个简约橙色风格的jQuery网页右侧在线客服特效,网站悬浮客服代码,带返回顶部按钮与二维码的qq在线客服代码。
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>
xj4***
未评价,系统默认好评!
2023-09-19 10:59:04