码迷,mamicode.com
首页 > 其他好文 > 详细

轮播图。无动画事件

时间:2018-10-25 15:33:50      阅读:123      评论:0      收藏:0      [点我收藏+]

标签:remove   轮播图   on()   this   样式   UNC   var   add   one   

$(function(){

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

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

var index=$(this).index()

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

})

})

轮播图。无动画事件

标签:remove   轮播图   on()   this   样式   UNC   var   add   one   

原文地址:https://www.cnblogs.com/big2cat/p/9849688.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!