Vivotek V User Manual Page 28

  • Download
  • Add to my manuals
  • Print
  • Page
    / 91
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 27
www.vivotek.com
T: 886-2-82455282
F: 886-2-82455532
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"; //IMAGE URL
var refreshrate=5; //SECONDS BETWEEN REFRESH
var imgwidth=352; //IMAGE WIDTH
var imgheight=240; //IMAGE HEIGHT
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>
<!-- End of scripts to auto refresh the image. //-->
</p>
</body>
</html>
Page view 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 90 91

Comments to this Manuals

No comments