Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
(Created page with "if ($('.animated').length) { setInterval(function () { $('.animated').each(function () { var current = $(this).find('.active').removeClass('active'); ...") |
(No difference)
|
Revision as of 19:35, 10 September 2013
if ($('.animated').length) {
setInterval(function () {
$('.animated').each(function () {
var current = $(this).find('.active').removeClass('active');
next = current.next().length ? current.next() : $(this).children().eq(0);
next.addClass('active');
});
}, 1500);
}