Navigational History

Much like the standard Web browsers we have today, WML provides a navigational history model that allows you to easily manage backward navigation. WML keeps track of a user's history by maintaining a stack of URLs, each of which represents where the users have visited. When examined together, this "history stack" as you can see in Figure 4.6 details exactly what path the user took to reach the current location.

Figure 4.6. Using the history stack allows easy backward navigation.

As users navigate through cards and decks via the href attribute in the <go> tag, those cards are entered into the history stack. This entry occurs ...

Get WAP Development with WML and WMLScript 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.