www.gusucode.com > 织梦金融企业网站模板 黑色大气的通用企业网站模板(demo22) > 织梦金融企业网站模板 黑色大气的通用企业网站模板(demo22)/www2/style/js/function.js
$(document).ready(function(){ //详细1 $('#id_more').mouseover(function(){ $('#id_more #ckxx_m1').animate({'top':'-34px'}); $('#id_more #ckxx_m2').animate({'top':'0px'}); }); $('#id_more').mouseleave(function(){ $('#id_more #ckxx_m2').animate({'top':'-34px'}); $('#id_more #ckxx_m1').animate({'top':'0px'}); }); }); $(document).ready(function(){ //详细2 $('#id_more2').mouseover(function(){ $('#id_more2 #ckxx_m21').animate({'top':'-34px'}); $('#id_more2 #ckxx_m22').animate({'top':'0px'}); }); $('#id_more2').mouseleave(function(){ $('#id_more2 #ckxx_m22').animate({'top':'-34px'}); $('#id_more2 #ckxx_m21').animate({'top':'0px'}); }); }); $(document).ready(function(){ //详细3 $('#id_more3').mouseover(function(){ $('#id_more3 #ckxx_m31').animate({'top':'-34px'}); $('#id_more3 #ckxx_m32').animate({'top':'0px'}); }); $('#id_more3').mouseleave(function(){ $('#id_more3 #ckxx_m32').animate({'top':'-34px'}); $('#id_more3 #ckxx_m31').animate({'top':'0px'}); }); });