Author |
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: April 02 2005 at 15:29 | IP Logged
|
|
|
I just discovered a cool feature for WAP pages. If you add "accesskey=" to links, you can assign them to number buttons on your keypad so you don't have to scroll around to select them...
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html>
<body>
<center>PH WAP Main<br>
<br></center>
1 <a accesskey="1" href="/ph-wap/system">System Info</a><br/>
2 <a accesskey="2" href="/ph-wap/deviceloc">Device Status</a><br/>
3 <a accesskey="3" href="/ph-wap/macros">Macros</a><br/>
4 <a accesskey="4" href="/ph-wap/formula">Formula</a><br/>
<br/>
</body>
</html>
This would not be a wml page, but, html or psp.
Tony
|
Back to Top |
|
|
krommetje Super User
Joined: December 29 2004 Location: Netherlands
Online Status: Offline Posts: 695
|
Posted: April 03 2005 at 04:03 | IP Logged
|
|
|
TonyNo wrote:
I just discovered a cool feature for WAP pages. If you add "accesskey=" to links, you can assign them to number buttons on your keypad so you don't have to scroll around to select them...Tony |
|
|
Actually, these commands are also used for use in I-Mode GSM phones here in Europe. I-Mode phones have internet capability and pages are to be made in cHTML format. another command used for this is - emojicon -
I have a small I-mode page on my webserver, I'll post the code for you to view:
<html>
<head>
<title>Peter's I-Mode Pagina</title>
<META name="CHTML" content="yes">
<META HTTP-EQUIV="Content-Type" CONTENT="text/chtml; charset=iso-8859-1">
<META name="description" content="homepage">
</head>
<body>
Welkom op Peter's I-Mode pagina
<br>
<img src="icon14.gif" width="32" height="30">
<br>
<emoji name="1"></emoji><a href="1.html" accesskey="1"> Algemene Pagina</a><br>
<emoji name="2"></emoji><a href="2.html" accesskey="2">Plaatjes</a><br>
<emoji name="3"></emoji><a href="3.html" accesskey="3">Ringtones</a><br>
<emoji name="4"></emoji><a href="4.html" accesskey="4">Animaties</a><br>
<emoji name="6"></emoji><a href="NEC.htm" accesskey="6">TEST PAGE</a><br>
<p>
<!--email: <a href="mailto:yourname@xyz.com">yourname@xyz.com</a> <br>-->
<!--phone: <a href="tel:0123457">01234567<br></a>-->
</body>
</html>
As you can see, an accesskey is used to assign a key at the keypad to a certain html-file...an emoji is a graphic file that can be assigned to that particular accesskey.
With I-Mode GSM phones you can actually load PSP-pages as long as the resolution is not too big. By using cHTML and PSP code (like I used in my temps.psp in another post)
Resolution has to be at about 200 x 200 or else the phone errors out with a "page too big" and cuts the connection. This is done because I-Mode users pay by kilobyte so a too large page would cost the user too much.
so if I would rewrite your code for gsm-imode phones or cHTML capable code for make a choice to got to the system would look like this:
<emoji name="1"></emoji><a href="/ph-wap/system" accesskey="1">System</a><br>
Now a certain emoji is showed (an Icon actually) and an accesskey is assigned, in this case key 1 ....
Peter
Edited by krommetje
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: April 03 2005 at 10:29 | IP Logged
|
|
|
Thanks for sharing that!
|
Back to Top |
|
|