Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <body style="background-color:black;">
- <img src="https://www.kitco.com/images/live/gold.gif?rand=' + Math.random();" id="Gold" />
- <br>
- <img src="https://www.kitco.com/images/live/silver.gif?rand=' + Math.random();" id="Silver" />
- <script>
- setInterval(function() {
- var myImageElement = document.getElementById('Gold');
- myImageElement.src = 'https://www.kitco.com/images/live/gold.gif?rand=' + Math.random();
- }, 30000);
- setInterval(function() {
- var myImageElement = document.getElementById('Silver');
- myImageElement.src = 'https://www.kitco.com/images/live/silver.gif?rand=' + Math.random();
- }, 30000);
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment