The Stylus Meta Tag is an action tag used to enable and disable the touch screen.
Stylus (META Tag) Syntax <META HTTP-EQUIV="Stylus" content="[method>
Items listed in this section indicate methods or, in some cases, indicate parameters which will be retrieved.
Name Description
Default Value Enabled Enables the touch screen Device Dependant Disabled Disables the touch screen Device Dependant
Copy methods template to clipboard: META Tags Javascript
The following example disables the touch screen until the Enter key is pressed:
<META HTTP-EQUIV="Stylus" content="Disabled"> <META HTTP-EQUIV="OnKey0x0d" content="javascript:doTest();"> <SCRIPT> function doTest() { var objGeneric = new ActiveXObject("PocketBrowser.Generic"); objGeneric.InvokeMETAFunction('Stylus', 'Enabled'); } </SCRIPT>
Copy example to clipboard
Remote DisplayThis tag does not affect the behaviour of remote display applications for controlling the device
Supported Platforms Windows CE, Windows Mobile Persistence This tag is persistent. Min. Requirements None.