0 ){ $('#banner_main').slide({ titCell:'.hd ul', mainCell:'#banner ul', autoPlay:true, autoPage:true, delayTime:500, effect:'left'}); $(window).resize(function() { CenterBanner(); }); $(document).ready(function(e) { CenterBanner(); }); }else{ $("#banner_main").hide(); } function CenterBanner(){ var imgWidth = parseInt( $(".bannerlist li img:first").width() ); if( imgWidth <= 0 ) return; var winWidth = parseInt( $(window).width() ); var offset = parseInt( (winWidth-imgWidth)/2 ); $(".bannerlist li img").css("margin-left", offset+'px' ); }

产品中心

新闻资讯

联系我们

  • 地址:广西南宁市五一西路17号
  • 手机:13377119066
  • 电话:0771-4986006