level 2
夏日协奏曲c
楼主
上面这个切换的功能和下面轮播图的一段代码,2个都得运行,但是上面切换的功能没用,要删掉轮播图的这段代码才有用,这种情况怎么办啊?
$(function(){
$(".cont_1>div").hover(function(){
if($(this).attr("class")!="on"){
$(this).addClass("on").siblings(".cont_1>div").removeClass("on")
}
})
})
$.noConflict()
jQuery('.zy-Slide').zySlide({ speed: 500 })
2017年01月18日 04点01分
1
$(function(){
$(".cont_1>div").hover(function(){
if($(this).attr("class")!="on"){
$(this).addClass("on").siblings(".cont_1>div").removeClass("on")
}
})
})
$.noConflict()
jQuery('.zy-Slide').zySlide({ speed: 500 })