ElEditors, Interface administrators, Administrators
85,550
edits
No edit summary |
mNo edit summary |
||
Line 19: | Line 19: | ||
$(this).find('> ul li:first').removeClass('inactive'); | $(this).find('> ul li:first').removeClass('inactive'); | ||
$(this).find('> ul li:first').addClass('active'); | $(this).find('> ul li:first').addClass('active'); | ||
$(this).find('> div:first'). | $(this).find('> div:first').toggle(); | ||
}); | }); | ||
$('.tabdiv > ul li').each(function() { | $('.tabdiv > ul li').each(function() { | ||
Line 31: | Line 31: | ||
$(this).addClass('active'); | $(this).addClass('active'); | ||
$(this).removeClass('inactive'); | $(this).removeClass('inactive'); | ||
$(target). | $(target).toggle(); | ||
return false; | return false; | ||
}); | }); |