|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
How to use Accesskey in XHTML.
Dear all,
I'm developing WAP application using XHTML. I have list of 10 items, there if a user presses the key numberd "1", it should navigate to the correspond deck(page) and so on. I use the following code, <a href="training1.xhtml" accesskey="1">Page 1</a><br/>). But it not works fine. So pls advice me how to use the accesskey in XHTML or WML. Thanks. Dhakshna |
|
#2
|
||||
|
||||
|
I am sure someone will correct me on this, but I don't think this is actually possible. I think it is because the phones themselves seem to have their own system for soft keys and if you click on 1 for example on my phone it opens bookmarks.
Ok, so to contradict myself, it seems although it is possible: Quote:
Linky...
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ Last edited by jabba_29 : October 20th, 2005 at 04:18 AM. |
|
#3
|
|||
|
|||
|
accesskey
<body>
<a name="top"/> <a href="#bottom">Bottom</a><br/> 1 <a href="file2.xhtml" accesskey="1"> File</a><br/> 2 <a href="file3.xhtml" accesskey="2"> File 2</a><br/> <a href="#top">Top</a><br/> <a name="bottom"/> </body> I hope this helps homayoun |
|
#4
|
||||
|
||||
|
Actually, having done a bit of testing a bit recently on this: it seems that the actual order you write the href makes a difference:
Code:
<a accesskey="1" href="file2.xhtml"> File</a> Code:
<a href="file2.xhtml" accesskey="1"> File</a> This of course, could be complete bollox, but the first case scenario seemed to work better when I was testing on N6101... |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > How to use Accesskey in XHTML. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|