Cam
(custom)
<div onclick="location.href='http://192.168.8.129:2971/camera/stream';" style="cursor: pointer;">
<img src="http://192.168.8.132:2971/camera/stream" alt="Camera 2" width="320" height="240"/>
</div>
[<span onclick="return takeSnapshotCamera02();">Снимок<span id="Camera02_snap"></span></span>]
[<span onclick="return showHistoryCamera02();">История</span>]
[<span onclick="showHistorySCamera02();">ИстСер</span>]
[<span onclick="takeSeriesCamera02();">Серия</span>]
<script type="text/javascript">
function takeSnapshotCamera02() {
callMethod('Camera02'+'.takeSnapshot');
$('#Camera02_snap').html(' OK');
return false;
}
function takeSeriesCamera02() {
callMethod('Camera02'+'.takeSeries');
$('#Camera02_ser').html(' OK');
return false;
}
function showHistoryCamera02() {
var url="/pChart/?p=Camera02"+".snapshot&op=log";
window.open(url);
return false;
}
function showHistorySCamera02() {
var url="/pChart/?p=Camera02"+".series&op=log";
window.open(url);
return false;
}
function showBigImageCamera02(url) {
window.open(url);
return false;
}
</script>