Casio Naurtech CETerm Ver.5.1 Web Browser Programming Ma Manuale Utente Pagina 21

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 79
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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>
Vedere la pagina 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 78 79

Commenti su questo manuale

Nessun commento