21 sip, Example, Syntax – Casio Naurtech CETerm Ver.5.1 Web Browser Programming Manual User Manual

Page 36: Comments

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 36


Example

<html>
<head>
<meta http-equiv="SignalNavigate"
content="javascript:OnSignal('%s', '%s', '%s');">
</head>
<body>
<script language=javascript>
function OnSignal(strength, ESSID, MACAddress)
{
if (strength == -2)
{
alert("RF radio is not associated.");
}
else if (strength == -1)
{
alert("Unable to determine RF signal strength.");
}
else
{
alert("RF Signal strength = " + strength);
}
}
</script>
...
</body>
</html>

3.21 SIP

The SIP tag controls the visibility of the Soft Input Panel (SIP).

Syntax

http-equiv="SIP"
content="Show"
"Hide"
"Locked"

Comments

This tag is used primarily when the SIP should be displayed upon loading a
page. Alternatively, you can use an IDA Action Code via the IDA META tag, an
“ida:” URL or a PostIDA call. These latter techniques can be used to change the
SIP visibility during the user interaction with the page. The “Locked” value will
prevent the SIP from popping up when focus is set to a text input element under
Pocket PC 2002 or Windows Mobile 2003. The locked state can also be set in
the CETerm configuration dialogs.

Advertising