document.domain='chexun.com' $(function(){ $(".smallPop").hover(function(){ $(this).addClass("smallPopon"); },function(){ $(".smallPop").removeClass("smallPopon"); }); }); //标签切换 $(function(){ var $tab=$("div.larginPop ul.popTab li"); $tab.hover(function(){ $(this).addClass("on") .siblings().removeClass("on"); var index=$tab.index(this) $("div.popCon > div") .eq(index).show() .siblings().hide(); }) }) jQuery(function(){ jQuery("#contraction").click(function(){ jQuery(".box-lanrenzhijia").animate({ height: '50px',bottom:'0px' }, 1000, 'linear', function() { jQuery(".larginPop").hide(); }); jQuery("#contraction").hide(); jQuery("#smallPop").show(); }); jQuery("#smallPop").click(function(){ jQuery(".box-lanrenzhijia").animate({ height: '440px',bottom:'0px' }, 10, 'linear', function() { jQuery(".larginPop").show(); }); jQuery("#smallPop").hide(); jQuery("#contraction").show(); }); jQuery("#close_window").click(function(){ jQuery(".box-lanrenzhijia").hide(); }); }); function closeDiv(){ document.getElementById('pop').style.visibility='hidden'; } document.write(''); document.write('