Vivotek PZ6114/PZ6124 User Manual page 29

Pa/tilt/zoom network camera
Table of Contents

Advertisement

Example of an auto-refresh web page:
<html>
<head>
<title>Example - auto refresh</title>
</head>
<body>
<p align=left>
<font size="7" face="Comic Sans MS" color="#FF0000">
MiniAVServer Demo
</font>
</p>
<p align=left>
<!-- Begin of scripts to auto refresh the image. Change the IP address in the image
URL and refreshrate if necessary. //-->
<script language=javascript>
var image="http://192.168.0.203/cgi-bin/video.jpg";
var refreshrate=5;
var imgwidth=352;
var imgheight=240;
function refresh(){
document.images["pic"].src=image+"?"+new Date();
setTimeout('refresh()', refreshrate*1000);}
document.write('<img
width="'+imgwidth+'" name="pic">');
if(document.images)window.onload=refresh;
</script>
<!-- End of scripts to auto refresh the image. //-->
</p>
</body>
</html>
//SECONDS BETWEEN REFRESH
//IMAGE WIDTH
//IMAGE HEIGHT
src="'+image+'"
- 25 -
www.vivotek.com
T: 886-2-82455282
F: 886-2-82455532
//IMAGE URL
height="'+imgheight+'"

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pz6114Pz6124

Table of Contents