Timer
A WML card can be set up to use the timer function of WML. The time unit of the timer is 1/10 of a second.
The example below will display a message for 3 seconds, and then take you to the file "test.wml":....[阅读全文]
Variables
When a user switches from card to card in a deck, we need to store data in variables. WML variables are case sensitive.
Specify a Variable with the Setvar Command
When someone executes a task (like go, prev, and refresh), the setvar elem....[阅读全文]
A WML deck with two cards - one for user input and one for displaying the result - can be set up, as demonstrated in this example:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-....[阅读全文]
The Complete WML DTD:
<!--
Wireless Markup Language (WML) Document Type Definition.
Copyright Wireless Application Protocol
Forum Ltd., 1998,1999.
All rights reserved.....[阅读全文]
What you should already know
Before you continue you should have a basic understanding of the following:
HTML
JavaScript
WML
If you want to study these subjects first, find the tutorials on our Home page.
What is WML?
WML sta....[阅读全文]
How to call a WMLScript from a WML page
Notice that WMLScripts are not embedded in WML pages. The WML pages only contains references to script URLs.
In the example below; if you select the go label the external script will direct you to http:....[阅读全文]