网站的右下角显示小姐姐图片在线客服图片

网站的右下角显示小姐姐图片在线客服图片

网站的右下角显示小姐姐图片在线客服图片

js代码

<script type =“ text / javascript”>
(function($){
setInterval(function(){
if($(“。animated-circles”)。hasClass(“ animated”)){
$(“。animated-circles” ).removeClass(“ animated”);
} else {
$(“。animated-circles”)。addClass(’animated’);
}
},3000);
var wait = setInterval(function(){
$(“。livechat- hint“)。removeClass(” show_hint“)。addClass(” hide_hint“);
clearInterval(wait);
},4500);
$(”。livechat-girl“)。hover(function(){
clearInterval(wait);
$ (“ .livechat-hint”)。removeClass(“ hide_hint”)。addClass(“ show_hint”);
},function(){
$(“。livechat-hint“)。removeClass(” show_hint“)。addClass(” hide_hint“);
})。click(function(){
if(isMobile){
window.location.href =’http://www.sucaihuo.com’;
} else {
var oWidth = 606,
oHeight = 630,
顶部=($(window).height()/ 2)-(oHeight / 2),
左侧=($(window).width()/ 2)-(oWidth / 2);
window.open(’http://www.sucaihuo.com’,”,’width=’+oWidth+’,height=’+oHeight+’,scrollbars=yes,top=’+top+’,left=’+left+ ‘,resizable = yes’);
}
});
})(jQuery);
</ script>

点赞

发表评论