ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS
5-5
Below is the basic code for the
menu.htm
<!-- top_or_left=1 , scrolling=0 , width=60 , resize=1 -->
<html>
<head>
<title>Title1</title>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8
" >
<SCRIPT LANGUAGE="JavaScript" src="./msg/wincon.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
function start1()
{
A_11();
}
function refresh_data()
{
if(run_at_pc==1) return;
}
</SCRIPT>
</head>
<body onload="
start1()
">
<!-- Logout button -->
<form name="
form_logout
" method="post" action="./login.dll">
<input style="cursor:hand" name="CMD" type="submit" value="Logout"
onClick="return logout(this.form)">
</form>
</body>
</html>
Note
:
If you want to know more about the multi-page application, there are two demos in the VP-2xW7/4xx7
CD:
\napdos\isagraf\vp-25w7-23w7\vp-webhmi-demo\
vphmi_05
&
vphmi_05a
.
The “vphmi_05” place its page-menu on the left, while “vphmi_05a” on the top.
The first row is not a comment, it defines the Page-Menu behavior
top_or_left: 1:Top , 0:Left
scrolling: 1:Yes , 0:No
width: width of the Menu Frame, 0 – 999 (unit is pixel)
resize 1:Yes , 0:No
This row is necessary for
menu.htm, main.htm & other
multi-pages
Please apply your charset here.
For example,
English: UTF-8
Simplified Chinese: gb2312
Traditional Chinese: big5
or other language
form_logout is for the logout button.
start1( ) is the entry point of the menu.htm
Summary of Contents for ISaGRAF WinCE ViewPAC
Page 44: ......
Page 118: ......
Page 177: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 17 VP 23W7 23W6 Unit mm...
Page 178: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 18 VP 25W7 25W6 Unit mm...
Page 179: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 19...
Page 180: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 20 VP 41x7 41x6 Unit mm...
Page 185: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 25...