Version compl�te: jsB@nk » Image » Web-Cam Refresh
URL: https://www.javascriptbank.com/web-cam-refresh.html
Simple script pour rafraîchir une webcam image sans actualiser la page entière.
Version compl�te: jsB@nk » Image » Web-Cam Refresh
URL: https://www.javascriptbank.com/web-cam-refresh.html
<script language="javascript">var refreshrate=5; //SECONDS BETWEEN REFRESHvar image="webcam.gif"; //IMAGE NAMEvar imgheight=200; //IMAGE HEIGHTvar imgwidth=100; //IMAGE WIDTHfunction 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><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->