ToWP: List of links

| WebCab.de | ToWP | Next |

There are at least two solutions to create a list of links like the following:
 
  • First hyperlink
  • Second hyperlink

If the texts of the links are short enough so that they can be shown without word wrapping in a small display then you can use the following code like:

<select ivalue="0">
<option onpick="http://www.server.com/">First hyperlink</option>
<option onpick="http://www.site.com/">Second hyperlink</option>
</select>

The presentation of this code can look like the following screen shots.

Alcatel One Touch Pocket
(UP.SDK 3.2)
NOKIA 6110
NOKIA WAP Toolkit 1.1

The code ivalue="0" prevents the browser to preselect the first option. Otherwise, you cannot select the first hyperlink to surf to the server http://www.server.com/.
If you select an option the browser directly loads the appropriate URL.

If the texts of the links are too long you should use anchor tags. The code looks like:

<p><a href="http://www.server.com/">First hyperlink with some more text</a></p>
<p><a href="http://www.site.com/">Second hyperlink with some more text</a></p>

The presentation of this code can look like the following screen shots.

Alcatel One Touch Pocket
(UP.SDK 3.2)
NOKIA 6110
(NOKIA WAP Toolkit 1.1)

| WebCab.de | ToWP | Next |

© 2000 WebCab.de Contact