$('.nav-main li').eq(0).addClass('navcurr'); $(".advantage-loop").slide({ mainCell: ".bd ul", autoPage: true, effect: "leftLoop", autoPlay: true, vis: 4, trigger: "click" }); $(".homenews-loop").slide({ mainCell: ".bd ul", autoPage: true, effect: "leftLoop", autoPlay: true, vis: 3, trigger: "click" }); // $(".investshow-main").slide({mainCell:".bd ul",effect:"leftLoop",autoPlay:true,vis:4,trigger:"click",intertime:5000});