You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
625 B
16 lines
625 B
$(function(){
|
|
$(".left-type ul li").each(function(){
|
|
var index = $(this).index();
|
|
$(this).addClass('index'+index);
|
|
if($(this).index()%3==2){
|
|
$(this).css('marginRight','0');
|
|
}
|
|
})
|
|
$(".left-bottom .plbox ul:first").show().siblings('ul').hide();
|
|
$(".left_tab span").hover(function(){
|
|
var index = $(this).index();
|
|
$(this).addClass("active").siblings().removeClass('active');
|
|
$(this).parent().siblings('.plbox').children('ul').eq(index).show().siblings().hide();
|
|
})
|
|
$(".top-list li:last,.center-top li:last").css('marginRight','0');
|
|
})
|