Casio Naurtech CETerm Ver.5.1 Web Browser Programming Ma Manuel d'utilisateur Page 48

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 79
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 47
NAURTECH WEB BROWSER SMART CLIENTS FOR WINDOWS CE .NET / POCKET PC
Web Browser Programming Guide Page 48
// Focus has moved, cancel the event
return -1;
}
// Just return the same key
return 0;
}
</script>
</body>
</html>
4.4 SESSION LAUNCHER
One interesting use of the Web Browser is as a launcher for other browser or
terminal emulation sessions. The following example shows how a static web
page on the device could be used to activate other sessions. This example
assumes that this web page is displayed under Session 4. Each of the other
sessions must be configured for the desired activity:
<html>
<head>
<title>Naurtech Launch Page</title>
<meta http-equiv="PowerOn" content="Javascript:poweron();">
<meta http-equiv="Scanner" content="Disabled">
<meta http-equiv="OnKey0x70"
content="Javascript:startsession(1);"><! F1>
<meta http-equiv="OnKey0x71"
content="Javascript:startsession(2);"><! F2>
<meta http-equiv="OnKey0x72"
content="Javascript:startsession(3);"><! F3>
</head>
<body>
<object id="CEBrowseX"
classid="clsid:D14943BD-4900-453E-8582-725F21A57E0C"
height=0, width=0>
</object>
<form name=form1>
<font size=9>
<center>
Main Menu<br>
</center>
<a href="javascript:startsession(1);">F1. Pick</a><br>
<a href="javascript:startsession(2);">F2. Cycle Count</a><br>
<a href="javascript:startsession(3);">F3. Receive</a><br>
<br>
</font>
</form>
<script language=javascript>
function poweron()
{
// Navigate to Main Menu on resume
Vue de la page 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 78 79

Commentaires sur ces manuels

Pas de commentaire