Defining Links
WML contains two elements for navigation. These navigational elements are
Anchors— Provided by the ANCHOR element in WML. Anchors place links around text or images to enable users to select and navigate throughout a WAP application. Anchors were discussed in Chapter 4, “Text Formatting for WML.”
Events— Provided by the DO and ONEVENT elements in WML. These enable you to set navigational functionality to a WAP device’s user interface (such as the WAP device’s Option or Accept button). Chapter 4 introduced you briefly to the DO element.
Let’s look at a more in-depth explanation of both of these navigational methods and how to use them within a WAP application.
The ANCHOR Element
When creating links within the cards of your WAP ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access