所属分类:网页特效-在线客服
$(function() {
$('.lanren_right').hover(function() {
$(this).find(".kefu").stop().animate({right: '0'});
$(this).find(".bar_show").stop().animate({right: '120px'});
}, function() {
$(this).find(".kefu").stop().animate({right: '-120px'});
$(this).find(".bar_show").stop().animate({right: '0'});
});
$('.lanren_left').hover(function() {
$(this).find(".kefu_left").animate({left: '0'});
$(this).find(".bar_hide").stop().animate({left: '120px'});
}, function() {
$(this).find(".kefu_left").stop().animate({left: '-120px'});
$(this).find(".bar_hide").stop().animate({left: '0'});
});
})