<script>
// We check whether changing the class will lead to the animation being
// run from the beginning, even if the animation was already shown
// before. var counter = 0;
function doTimeout() {
if (counter == 4) {
document.documentElement.className = '';
} else {
document.getElementById("animated").setAttribute("class", "animated" + ((counter % 2)+1));
setTimeout(doTimeout, counter == 3 ? 500 : 250); // Wait a bit more for the last one, to prevent oranges
}
counter++;
}
</script>
</body>
</html>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.