Intermec 760 Betriebsanweisung

Seite von 82
 
iBrowse User’s Guide
45
IBrowse_OnKey
This changes the action of a particular key. The key mapped is mapped for 
the current page only. The key value, which is 0x1b in the following 
example, can be either a hexadecimal value (0x1b) or a decimal value (27).
Syntax
HTTP-Equiv=”IBrowse_OnKey0x1b”
content= URL | JavaScript function
Comments
The content can include a web page to navigate to or a JavaScript function 
to perform. This tag affects only the page on which it is placed, so do any 
key remapping on a page-by-page basis. You must precede hexadecimal 
values by 0x. You cannot remap system keys such as Application Key 1 in 
the TE 2000 version of iBrowse.
Example
<HTML>
<HEAD>
<META HTTP-Equiv=” IBrowse_OnKey0x1b” content=” http://
appserver\home.htm”>
<META HTTP-Equiv=” IBrowse_OnKey032” content=” http://
appserver\page1.htm”>
<META HTTP-Equiv=” IBrowse_OnKey49” content=” 
Javascript:OnKeyOne();”>
<script>
function OnKeyOne()
{
alert(”The 1 key was pressed.”);
}
</script>
</HEAD>
<BODY>
<H2>Key Mapping</H2>
<P>Press the escape key to return to the home page</P>
<P>Press the space key to go to page 1</P>
<P>Press the 1 key will show an alert</P>
</BODY>
</HTML>
Note: Keys mapped using this method take precedence over persistent key 
mapping like those done in the 
[Keys] section of the .ini file.
Note: Function keys 1-24 can be mapped in a similar manner using the .ini 
file. Function key mappings created using the .ini files are persistent and do 
not have to be re-enabled on a page-by-page basis. Update the Function key 
values using the IBrowse_UpdateINI meta tag.