Leser: 1
2 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
function Init() {
if ((navigator.appName != "Netscape") &&
(navigator.userAgent.indexOf('Opera') == "-1"))
{
window.setInterval("ShowFrameRate()", 1000);
}
SubmitPresetList(document.forms[0].PresetList);
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
function SubmitSingleMove(i) {
SubmitPandegree(document.forms[0].PanDegree);
SubmitTiltdegree(document.forms[0].TiltDegree);
cvcs.MovePanTiltDegree(i);
}
function SubmitSetPosition() {
if (1)
{
var i = document.forms[0].PresetList.selectedIndex;
if (i > 0)
{
var hp=0,vp=0;
if ((navigator.appName != "Netscape") &&
(navigator.userAgent.indexOf('Opera') == "-1"))
{
hp = cvcs.GetHorizontalPosition();
vp = cvcs.GetVerticalPosition();
}
var sel=document.forms[0].PresetName.value;
cvcs.SetName(sel);
cvcs.SetPosition(i);
document.forms[0].PresetList.options(i).text = i+" "+sel+" ("+hp+","+vp+")";
}
}
}
2 Einträge, 1 Seite |