Last active
June 20, 2016 06:35
-
-
Save MattiasNilsson/9877203f079006233131 to your computer and use it in GitHub Desktop.
Player Jonnan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>TEST</title> | |
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.1.min.js"></script> | |
</head> | |
<body> | |
<h1>TEST</h1> | |
<div id="myDiv"> | |
PLAYER JONNAN! | |
</div> | |
<script type="text/javascript"> | |
jQuery(document).ready(function($) { | |
updateContent(); | |
function updateContent() { | |
setTimeout(updateContent, 30000); | |
$('#myDiv').load('http://www.sunet.se #myDiv'); | |
} | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment