|
Hyperlinks:
The
programming of hyperlinks with cHTML is also quite simple. The
famous <A href>-tags are used here also. You can
set links to a phone number, another i-Mode site, an e-mail
address or a another card. If there is a <A href>-tag
with no reference in it, the i-Mode browser will load the <Base>-tag.
This tag is a default link which can be set by the programmer.
If there is no <Base>-tag, the card will simply be
reloaded.
Example
of a card with a default link:
<HTML><HEAD><TITLE>DefaultLink</TITLE>
<BASE href="http://www.ccwap.com/index.htm">
</HEAD><BODY>
This link will lead to the default link.<BR>
<a href="">ccWAP
</BODY></HTML>
But
now, back to the <A href>-tag. Let's now take a look at an
example hyperlink:
<A
href="http://www.ccwap.co.jp/index.htm"
accesskey="1">﭂Kobe</A>
A
regular hyperlink can be assigned to a special key with the
"accesskey" function. However, we will not discuss
this further, since this is just an introduction to i-Mode.
An
i-Mode programmer can also link to phone numbers with <A
href="tel:">.
MORE
Copyright ©
1999-2002 www.ccWAP.com All rights reserved
|