Timers

WML enables timers, which enables developers to have an event occur without the user explicitly having to activate a control, to be declared within a WML card. Timeouts are specified in units of tenth of a second; however, some browsers might round this timeout to some other precision internally.

The TIMER Element (Chapter 8)

The TIMER element provides a method for executing a task automatically after a period of user inactivity.

Syntax

The following code snippet presents the syntax of the TIMER element:

<timer attribute/> 
Attributes

Table A.18 is a detailed summary of the attributes of the TIMER element.

Table A.18. The Attributes of the TIMER Element
Attribute Required Description
name No Specifies the name of the variable to be ...

Get WAP 2.0 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.