![ASCOM UPAC - Скачать руководство пользователя страница 77](http://html1.mh-extra.com/html/ascom/upac/upac_installation-and-operation-manual_2981282077.webp)
TD 92483GB
2008-06-05/ Ver. B
Installation and Operation Manual
UPAC- Unite Packet for Messaging and Alarm
72
Priority and Beep Codes in the default NetPage User Interface
12.2.3 Change the NetPage User Interface Functionality
As a help for locating comments/hidden text in the html code, the comment marks “ <!--
” and “-->” are used, see the example in
. The comment marks are also used to
Figure 39. Example of how to mark html text as comments, i.e. hide it.
For comments included in the JavaScript code, the comment mark “//” is used, see
. Text written after the comment mark (in the same line) is not interpreted by the web
browser.
Figure 40. Example on comments in a JavaScript.
Buttons, for example the “To” button that opens the NetPage phonebook, can also be
hidden directly in the code. To do this, insert “hidden” (double quotation marks both
before and after “hidden”) as input type as follows:
GUI Description
Priority Code
Low
9
Normal
7
High
3
Alarm
a
a. Marked as hidden in the html page.
1
GUI Description
Beep Code
Silent
0
1 beep
1
2 beeps
2
3 beeps
3
4 beeps
4
5 beeps
5
10 beeps
6
Siren
7
Figure 98.
Figure 99.
<TD valign="top" style="height:25">
<!-- This is the button that opens the NetPage phonebook.
If the phonebook is not used, remove the complete script and
the line (mark it as comments to be able to
include it again later on) -->
addCallNo(document.testform.callno.value, '');