轮播图。无动画事件

$(function(){

$("li").mouseenter(function(){

$(this).addClass("one").siblings().removeClass("one")

var index=$(this).index()

$("div").eq(index).addClass("样式").siblings().removeClass("样式")

})

})

猜你喜欢

转载自www.cnblogs.com/big2cat/p/9849688.html