Камера43
(custom)
<div onclick="location.href='rtsp://major:major@192.168.10.43';" style="cursor: pointer;">
<img src="http://192.168.10.43/GetData.cgi?CH=2" alt="Camera 17" width="320" height="240"/>
</div>
[<span onclick="return takeSnapshotCamera01();">Снимок<span id="Camera01_snap"></span></span>]
[<span onclick="return showHistoryCamera01();">История</span>]
[<span onclick="showHistorySCamera01();">ИстСер</span>]
[<span onclick="takeSeriesCamera01();">Серия</span>]
<style>
#item287 { /* здесь item287 - это номер ID пункта меню в котором он размещен - меняйте на свой! */
padding: 0;
}
</style>
<script type="text/javascript">
function takeSnapshotCamera01() {
callMethod('Camera01'+'.takeSnapshot');
$('#Camera01_snap').html(' OK');
return false;
}
function takeSeriesCamera01() {
callMethod('Camera01'+'.takeSeries');
$('#Camera01_ser').html(' OK');
return false;
}
function showHistoryCamera01() {
var url="/pChart/?p=Camera01"+".snapshot&op=log";
window.open(url);
return false;
}
function showHistorySCamera01() {
var url="/pChart/?p=Camera01"+".series&op=log";
window.open(url);
return false;
}
function showBigImageCamera01(url) {
window.open(url);
return false;
}
</script>