Keybord shortcuts on a website

  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

HI I was looking on wikipedia and noticed that they have a shortcut options for the website see what I mean have a look at the edit page and logo and you will see wikipedia.org How is this done because it would be nice to do it on you site it that said I have not seen it any ware else so maybe its hard to do?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • dark_lord
  • Graduate
  • Graduate
  • User avatar
  • Posts: 162
  • Loc: India-Kolkata

Post 3+ Months Ago

i think you are talking about accesskey? If that's so then it's easy. Just put this code
Code: [ Select ]
 
<a href="some_links" accesskey="2">link_name</a>
 
  1.  
  2. <a href="some_links" accesskey="2">link_name</a>
  3.  


that accesskey is responsible for shortcuts
  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

so I would just hit the number 2 and go to (in you example) some_links?
  • dark_lord
  • Graduate
  • Graduate
  • User avatar
  • Posts: 162
  • Loc: India-Kolkata

Post 3+ Months Ago

tastysite wrote:
so I would just hit the number 2 and go to (in you example) some_links?



it happens with mobile devices,pda etc. but dont know about keyboards.

it's better to check up with w3c.
  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

Got it working but in crome you press alt+1 and in IE you press alt+1+ENTER why o why can it never be easy?! :roll:

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 54 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.