Switch One Page To One Another Page - ICP DAS USA ISaGRAF WinCE ViewPAC User Manual

Table of Contents

Advertisement

5.5.2 Switch One Page To One Another Page

Please take a look at the "menu.htm" of the "vphmi_05" demo as below. The "goto_R_page( )" function
can be used for switching to other page.
<!-- top_or_left=0 , scrolling=0 , width=110 , resize=1 -->
<html>
<head>
<title>Title1</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5" >
<SCRIPT LANGUAGE="JavaScript" src="./msg/wincon.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
function start1()
{
A_11();
}
function refresh_data()
{
if(run_at_pc==1) return; // if simulate at the PC, just 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>
<br/>
<br/>
<!-- Goto main.htm -->
<A style="cursor:hand" onClick="goto_R_page('main.htm')">第 1 頁</A>
<br/>
<br/>
<!-- Goto kitchen.htm -->
<A style="cursor:hand" onClick="goto_R_page('kitchen.htm')">Kitchen</A><br/>
<br/>
<br/>
...
5-18
"cursor:hand" will display the mouse arrow as a hand
when entering the button area.
Switch page to "main.htm"
Switch page to "kitchen.htm"
ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents