MediaWiki:Common.js: Difference between revisions
From Minetest
>Xyz No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 11: | Line 11: | ||
animate(); | animate(); | ||
} | } | ||
/* Statcounter code for Minetest on Media Wiki */ | |||
var sc_project=11314327; | |||
var sc_invisible=1; | |||
var sc_security="4bceb3a8"; | |||
var sc_remove_link=1; | |||
var script = document.createElement('script'); | |||
script.src = "https://secure.statcounter.com/counter/counter.js" | |||
document.body.appendChild (script) | |||
/* End of Statcounter Code */ |
Latest revision as of 09:31, 19 August 2023
function animate() {
$('.animated').each(function () {
var current = $(this).find('.active').removeClass('active');
next = current.next().length ? current.next() : $(this).children().eq(0);
next.addClass('active');
});
setTimeout(animate, 1500);
}
if ($('.animated').length) {
animate();
}
/* Statcounter code for Minetest on Media Wiki */
var sc_project=11314327;
var sc_invisible=1;
var sc_security="4bceb3a8";
var sc_remove_link=1;
var script = document.createElement('script');
script.src = "https://secure.statcounter.com/counter/counter.js"
document.body.appendChild (script)
/* End of Statcounter Code */