Webcam Script 2

Webcam Script 2

Follow these easy instructions and you’ll have your WebCam up and running in less than 5 minutes!

• Click here to select the template HTML code below.
• On your keyboard, press Ctrl-C to copy the selected text.
• Open up a text editor, such as MS Notepad. Create a new file.
• On your keyboard, press Ctrl-V to paste the copied code into the new file.
• Customize it.
• Save (or upload) the file onto your server.

<META NAME=”DESCRIPTION” CONTENT=”brief description of your site goes here”> <title>YOUR SITE TITLE GOES HERE</title>
<script language=”Javascript”> <!– hide var x = 30; var y = 1; var now;
function caminawin() { window.open(‘URLTOWEBCAMIMAGE’, ‘popwin’, ‘scrollbars=0,status=0,toolbar=0,resizable=0,width=346,height=265,top=150,left=185’); }
function startClock() { x = x-y; document.form1.clock.value = x; if (x <= 1) reload(); timerID = setTimeout(“startClock()”, 1000); }
function reload() { now = new Date(); var camImg = “URLTOWEBCAMIMAGE” + “?” + now.getTime(); document.campicture.src = camImg; x = 30; document.form1.clock.value = x; } // end hide –> </script> <script type=”text/javascript”>

Comments are closed.