Page 80 - DCAP512_WAP_AND_WML
P. 80
WAP & WML
Notes A word of caution: it is best to link files via cards rather than directly. If the device fails to handle
the particular file or if there is an error, it is often simpler for a user to come back out of card than
from a “random” file.
Links to Decks
We can utilize to point users to other decks and applications. Two examples are given below.
<a href =”deck2.wml”>
Go to deck two
</a>
<a>
Go to deck two
<go href=”deck2.wml”>
<setvar name =”id” value=”a1" />
</go>
</a>
Link to Cards
Hotspots are mainly used to navigate users from one card to another. Two examples are given
below.
< a href =”#card3">
Go to card 3.
</a>
<a href=” “>
Return to previous card
</a>
The navigation history is shown in Figure 6.1
Navigation History
Figure 6.1: Current Card
€
th
7
th
6
th
5
4
th
3 http://www.card.com/deck3.wml
rd
2 Deck1.wml#card6
nd
st
1 #card1
Task Examine what is a hot spot and how they are defined?
74 LOVELY PROFESSIONAL UNIVERSITY