此作品是一款非常实用的作品,实现了悬浮右侧带QQ和啊里旺旺的jquery在线客服特效,jquery代码量非常少,使用简单,移植过来就可以直接使用,主要是层的显示和隐藏功能、鼠标悬浮等。。。
jquery功能代码如下:
var qqKefuTO = window.setTimeout(function(){
jQuery("#qqkefuDv").hover(function(){
if(isLeft=="left"){
jQuery(this).stop().animate({"left":"0"});
}else{
jQuery(this).stop().animate({"right":"0"});
}
},function(){
if(isIn){
if(isLeft=="left"){
jQuery(this).stop().animate({"left":"-87"});
}else{
jQuery(this).stop().animate({"right":"-87"});
}
}
});
},1000);
效果如下:
如果您觉得本作品对您的学习有所帮助:
关键字:
弹出层 在线客服 悬浮右侧 悬停特效 鼠标悬浮 QQ客服 jquery插件