Possible Duplicate:
jQuery Event Keypress: Which key was pressed?
I am trying to add arrow key navigation to my website code and having some problems. I don't think this can be done with html..maybe javascript... I'm pretty new to writing code and a little lost here as i don't know how much this type of navigation is supported. I'd just like to be able to scroll through the pictures within my website (http://www.williameadon.com) in the same way that you can navigate through pictures on facebook and other blogs. I already have two types of navigation,.. one where you simply click on screen on the left, right, index icons and the second where you can click directly on the image to advance. I'd like to have all three options for easier use. I'd really appreciate the help. Thank you.
Here is an example of the code that I am trying to enhance.
<html>
<title>AWE MAGAZINE - "SHE HAS EYES IN THE BACK OF YOUR HEAD"</title>
<meta name="keywords" content="art wednesday, Rebecca Dayan, James Penfold, Max Bergius, Annabel Tollman, Sloane Sera, Eric Hauck, Tracy Alfajora, Manny Norena, Zach Vella, Bumble & Bumble, Nars Cosmetics, william eadon"/>
<body bgcolor="#FFFFFF" alink="#000000" vlink="#000000" link="#000000">
<table border="0" cellpadding="0" cellspacing="0" width="1095" bgcolor="white" height="0" align="left">
<tr height="10" bgcolor="#FFFFFF">
<td bgcolor="#FFFFFF" valign="top" align="left" width="20" height="10"> </td>
<td valign="top" align="left" nowrap bgcolor="#FFFFFF" width="1067" height="10">
<p> </p>
</td>
<td height="10" bgcolor="#FFFFFF"><font color="#f5f5f5"> </font></td>
</tr>
<tr valign="top" align="left" height="500" bgcolor="#FFFFFF">
<td width="20" bgcolor="#FFFFFF" height="500"> </td>
<td valign="top" align="left" width="700" height="500" bgcolor="#FFFFFF">
<font color="#000000" face="Times New Roman,Georgia,Times" size="2"><b><a href="http://www.williameadon.com">Index</a> < <a href="awe2.html">></a> </b></font></p>
<p></p>
<p></p>
<p></p>
<p><a href="awe2.html"><img src="awe01.jpg" alt="" width="462" height="693" border="0">
</p>
</td>
</tr>
<tr height="50" bgcolor="#FFFFFF">
<td width="20" bgcolor="#FFFFFF" height="50"></td>
<td width="1067" height="50" bgcolor="#FFFFFF">
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
</td>
<td bgcolor="#FFFFFF" height="50"> </td>
</tr>
</table>
<p></p>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-12830353-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>