ICP DAS USA ISaGRAF WinCE ViewPAC User Manual page 93

Table of Contents

Advertisement

Below is the basic code for the menu.htm
<!-- top_or_left=1 , scrolling=0 , width=60 , resize=1 -->
The first row is not a comment, it defines the Page-Menu behavior
<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.
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
start1( ) is the entry point of the menu.htm
form_logout is for the logout button.
ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS
Please apply your charset here.
For example,
English: UTF-8
Simplified Chinese: gb2312
Traditional Chinese: big5
or other language
5-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vp-25w7Vp-23w7Vp-4137Vp-25w6Vp-23w6Vp-4136

Table of Contents