mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
28 lines
459 B
HTML
28 lines
459 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<style>
|
||
|
body {
|
||
|
margin: 0;
|
||
|
padding: 30px 47px;
|
||
|
}
|
||
|
img {
|
||
|
width: 206px;
|
||
|
height: 206px;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<p><img></p>
|
||
|
<script>
|
||
|
var index = 0;
|
||
|
function change() {
|
||
|
document.getElementsByTagName("img")[0].src = "rust-" + (index * 45) + ".png";
|
||
|
index = (index + 1) % 8;
|
||
|
setTimeout(change, 100);
|
||
|
}
|
||
|
change();
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|