Casio Naurtech CETerm Ver.5.1 Web Browser Programming Ma Instrukcja Użytkownika Strona 21

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 79
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 20
NAURTECH WEB BROWSER SMART CLIENTS FOR WINDOWS CE .NET / POCKET PC
Web Browser Programming Guide Page 21
<head>
<meta http-equiv="BatteryNavigate"
content="javascript:OnBattery(%s, %s, %s, %s);">
</head>
<body>
<script language=javascript>
function OnBattery(ACstate, strength, backup, chemistry)
{
if (strength == -1)
{
alert("Unable to determine battery strength.");
}
else
{
alert("Battery strength = " + strength);
}
}
</script>
...
</body>
</html>
3.4 COMMAND
The Command tag performs actions which affect the client application. Currently
this only exits the web browser.
Syntax
http-equiv="Command"
content="exit"
Comments
This tag is supported for compatibility with other browsers. It is preferable to use
the IDA Action Code “IDA_PROGRAM_EXIT” via the IDA META tag, an “ida:”
URL or a PostIDA call.
Example
<html>
<head>
<meta http-equiv="Command" content="exit">
</head>
<body>
This message should not be visible.
</body>
</html>
Przeglądanie stron 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 78 79

Komentarze do niniejszej Instrukcji

Brak uwag