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

  • 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 26
NAURTECH WEB BROWSER SMART CLIENTS FOR WINDOWS CE .NET / POCKET PC
Web Browser Programming Guide Page 27
<head>
<meta http-equiv="OnAllKeys"
content="javascript:myKeyAction(%s);"><! All keys >
</head>
<body>
Main Menu<br>
1. Cycle Count<br>
2. Inventory<br>
3. Receiving<br>
Select an action:<br>
Press ‘A’ to check version.<br>
...
<script language=javascript>
function myKeyAction(vkcode)
{
alert( "Key pressed =" + vkcode);
}
</script>
</body>
</html>
3.12 ONKEY
The OnKey tag assigns a JavaScript action or URL to hardware keys on the
handheld device. The action will take place regardless of the focus location on
the page.
Syntax
http-equiv="OnKey0xZZ"
"OnKeyDDD"
"OnKeyIgnoreInText"
"OnKeyVK_name" (version 4.5.3 or later)
"OnKey_name" (version 4.5.3 or later)
content="javascript:myKeyAction();"
<!- or ->
content="http://10.1.1.8/inventory.htm"
Where ZZ is a two digit hexadecimal number that represents the Windows CE
“Virtual Key Code” (VK) for a physical key, or “DDD” is up to 3 decimal digits
representing the VK code, or “name” is the portion of the Virtual Key symbolic
name after the underscore.
Comments
See the Appendix for a list of Virtual Key Codes, their symbolic names,
hexadecimal representation, and the typical keyboard name. This tag allows
several different formats to specify the VK value. Using the symbolic name
Vue de la page 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 78 79

Commentaires sur ces manuels

Pas de commentaire