About Me
/// READ THIS ///
you have to copy the following file to your web server (located in webfiles directory) :
loading.jpg
loading_80.jpg
offline.jpg
offline_80.jpg
once done create a new html file and paste the code generated :
<SCRIPT LANGUAGE="JavaScript">
<!--
errorimg1= 0;
function LoadImage1()
{
uniq1 = Math.random();
document.images.webcam1.src = "
http://88.234.217.234:8080/cam_1.jpg?uniq="+uniq1; window.status = "[powered by webcamXP]";
}
function PTZMouseDown1(e)
{
var IE = document.all?true:false;
var x,y;
var myx,myy;
var myifr = document.getElementById("ptz");
tp = getElPos1();
myx = tp[0];
myy = tp[1];
if(IE){
x = event.clientX - myx + document.body.scrollLeft;
y = event.clientY - myy + document.body.scrollTop;
} else {
x = e.pageX - myx;
y = e.pageY - myy;
}
//alert(x + " :: " + y);
if (myifr != null) myifr.src = "
http://88.234.217.234:8080/ptz?source=1&moveto_x=" + x + "&moveto_y=" + y +"&withsrcselect=true";
return true;
}
function getElPos1()
{
el = document.images.webcam1;
x = el.offsetLeft;
y = el.offsetTop;
elp = el.offsetParent;
while(elp!=null)
{ x+=elp.offsetLeft;
y+=elp.offsetTop;
elp=elp.offsetParent;
}
return new Array(x,y);
}
function ErrorImage1()
{
errorimg1++;
if (errorimg1>1){
document.images.webcam1.onload = "";
document.images.webcam1.src = "
http://www.darkboard.net/webcam/offline.jpg"; }else{
uniq1 = Math.random();
document.images.webcam1.src = "
http://88.234.217.234:8080/cam_1.jpg?uniq="+uniq1; }
}
function DoIt1()
{
e