Any ideas why this function is not working.
I am running it locally on my private network.
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title>Javascri pt Webcam for Internet Explorer</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script LANGUAGE="JavaS cript">
<!-- hide from old browsers
var chgcntr=1;
currentdate = new Date();
currenttime = currentdate.get Time();
function changeit() {
if (chgcntr > 0) {
var imgsingle = "http://192.168.0.1/webcam/webcam.jpeg";
document.imgroo m.src = imgsingle;
setTimeout("cha ngeit()",3000);
}
}
//end hide -->
</script>
</head>
<body text="#000066" bgcolor="#FFFFF F" link="#0066FF" vlink="#00AAFF"
alink="#FF0000" onload="changei t()">
<center>
<IMG src="" name="imgroom" alt="Picture" height=240 width=320></img>
</center>
</body>
</html>
Thanks
I am running it locally on my private network.
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title>Javascri pt Webcam for Internet Explorer</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script LANGUAGE="JavaS cript">
<!-- hide from old browsers
var chgcntr=1;
currentdate = new Date();
currenttime = currentdate.get Time();
function changeit() {
if (chgcntr > 0) {
var imgsingle = "http://192.168.0.1/webcam/webcam.jpeg";
document.imgroo m.src = imgsingle;
setTimeout("cha ngeit()",3000);
}
}
//end hide -->
</script>
</head>
<body text="#000066" bgcolor="#FFFFF F" link="#0066FF" vlink="#00AAFF"
alink="#FF0000" onload="changei t()">
<center>
<IMG src="" name="imgroom" alt="Picture" height=240 width=320></img>
</center>
</body>
</html>
Thanks
Comment