ElEditors, Interface administrators, Administrators
85,546
edits
mNo edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
addOnloadHook(function(){ | addOnloadHook(function(){ | ||
$('div.tabdiv > ul > li').click(function(){ | $('div.tabdiv > ul > li').click(function(){ | ||
$(this).parent().parent(). | $(this).parent().parent().children('div').hide(); | ||
$((this). | $((this).children('a:first').attr('href')).show(); | ||
$(this).parent(). | $(this).parent().children('li').removeClass('active').addClass('inactive'); | ||
$(this).removeClass('inactive').addClass('active'); | $(this).removeClass('inactive').addClass('active'); | ||
}); | }); | ||
Line 478: | Line 478: | ||
headerList = headerList.filter(function(e){ | headerList = headerList.filter(function(e){ | ||
return $(e).children(' | return $(e).children('td').length == 0; | ||
}); | }); | ||
headerList = headerList.filter(function(e){ | headerList = headerList.filter(function(e){ |