advanced code snippet search
LeeRJohnson on 10/01/07
navigation accessability accesskey
10/01/07 04:36pm
1 person have marked this snippet as a favorite
LeeRJohnson
A titled navigation block with a ordered list indicating the accesskey number. Note: When using the accesskey model nine list items is the maximum. I keep the homepage as #1 and the contact page as the last list item.
<div id="NavigationID" class="navigation" title="Ordered Navigation"> <h2 class="header">Ordered Navigation</h2> <ol class="list"> <li><a id="a1" class="url" accesskey="1" href="/">Home</a></li> <li><a id="a2" class="url" accesskey="2" href="page2/">Page2</a></li> <li><a id="a3" class="url" accesskey="3" href="page3/">Page3</a></li> <li><a id="a4" class="url" accesskey="4" href="contact/">Contact</a></li> </ol></div>
Report this snippet Tweet
Comment:
You need to login to post a comment.