****** Example homepage begin ******
<html>
<head>
<title>Example - auto refresh</title> </head>
<body background="/pic/wallppr.jpg"> <p align=left>
<font size="7" face="Comic Sans MS" color="#FF0000"> Network Camera Demo
</font>
</p>
<p align=left>
URL and refreshrate if |
| |
<script language=javascript> |
|
|
var | //IMAGE URL | |
var refreshrate=5; | //SECONDS BETWEEN REFRESH | |
var imgwidth=352; | //IMAGE WIDTH |
|
var imgheight=240; | //IMAGE HEIGHT (NTSC:240; PAL:288) | |
function refresh(){ |
|
|
document.images["pic"].src=image+"?"+new Date(); |
| |
setTimeout('refresh()', refreshrate*1000);} |
| |
document.write('<img | src="'+image+'" | height="'+imgheight+'" |
width="'+imgwidth+'" name="pic">'); if(document.images)window.onload=refresh; </script>
</body>
</html>****** Example homepage end ******
- 29 -