MediaWiki:Common.js: Difference between revisions

m
no edit summary
mNo 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').toggle();
$(this).find('> div:first').show();
});
});
$('.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).css({'right' : 0, 'tranform' : 'scaleX(0)'; });
$(target).show();
$(target).animate({'transform' : 'scaleX(1)';})
return false;
return false;
});
});