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' ); }
13639168936联系人: 蔡经理
手机: 15974973899
电话: 13639168936
业务咨询:
邮政编码: 550005
网址: http://www.lpsfkjc.com
地址: 贵州省盘州市胜境街道胜境村(云贵交界胜境关)