MediaWiki:Common.js: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 43: Line 43:
$(this).parent().find('> li').removeClass('active');
$(this).parent().find('> li').removeClass('active');
$(this).parent().find('> li').addClass('inactive');
$(this).parent().find('> li').addClass('inactive');
$(this).parent().parent().find('> div').hide(400);
$(this).parent().parent().find('> div').hide('fade', 'slow');
$(this).addClass('active');
$(this).addClass('active');
$(this).removeClass('inactive');
$(this).removeClass('inactive');
$(target).show(400);
$(target).show('fade', 'slow');
return false;
return false;
});
});