8 homekey, 9 ida, Syntax – Casio Naurtech CETerm Ver.5.1 Web Browser Programming Manual User Manual

Page 24: Comments, Example

Advertising
background image

N

AURTECH

W

EB

B

ROWSER

S

MART

C

LIENTS FOR

W

INDOWS

CE .NET / P

OCKET

PC




Web Browser Programming Guide

Page 24


</head>
<body>
This page reports unit information.
...
<script language=javascript>
function ReportInfo(serial, uuid, version)
{
alert( "Serial Number=" + serial +
"\nUUID=" + uuid +
"\nVersion=" + version );
}
</script>
</body>
</html>

3.8 H

OME

K

EY

The HomeKey tag enables the “home key” (F5) to navigate to the current home
URL.

Syntax

http-equiv="HomeKey"
content="Enabled"
"Disabled"

Comments

This tag is supported for compatibility with other browsers. It is preferable to use
the IDA Action Code “IDA_URL_HOME” via the IDA META tag, an “ida:” URL or
a PostIDA call.

This action can also be achieved with the “OnKey” tag. This tag remains in effect
until explicitly changed or the session ends.

Example

<html>
<head>
<meta http-equiv="HomeKey" content="Enabled">
</head>
<body>
Press F5 to navigate to the home URL.
</body>
</html>

3.9 IDA

The IDA tag performs a wide range of actions to control the device and the client.

Advertising