Created
July 16, 2011 22:18
-
-
Save xinmyname/1086861 to your computer and use it in GitHub Desktop.
Gunnar Cam
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Gunnar Cam</title> | |
<link href="Index.min.css" type="text/css" rel="Stylesheet" /> | |
</head> | |
<body> | |
<div id="image"> | |
<img id="cam" src="http://192.168.1.201/image/jpeg.cgi" alt="Gunnar, most likely" /> | |
</div> | |
<script src="jquery-1.6.2.min.js" type="text/javascript" ></script> | |
<script type="text/javascript" > | |
function update() | |
{ | |
$('#cam').attr('src', 'http://192.168.1.201/image/jpeg.cgi?' + new Date().getTime()); | |
} | |
$('#cam').load(function () | |
{ | |
setTimeout(update, 200); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment