<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">Sorry
this is a recall... I feel realy sorry if this one is disturbing your
inbox...<br>
<br>
I can't believe no one has an answer:<br>
<br>
I'm using the function below to detect a keypress and I'd like also
when this key is pressed to jump to a &lt;a name="thereUgo"&gt; in my
document... <br>
Just as you would jump to a content &lt;a name="thereUgo"&gt; when you
click on a &lt;a href="#thereUgo&gt;... Except that I try to do this
with the keypress script below...<br>
<br>
Any ressource to point or solution to suggest ?<br>
<br>
Thanks.
<br>
<br>
Guillaume.<br>
<br>
Here's the keypress script I use:<br>
<br>
<br>
function getKey(e){
<br>
<br>
&nbsp;&nbsp; if (e == null) { // ie
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; keycode = event.keyCode;
<br>
<br>
&nbsp;&nbsp; } else { // mozilla
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; keycode = e.which;
<br>
<br>
&nbsp;&nbsp; }
<br>
<br>
&nbsp;&nbsp; key = String.fromCharCode(keycode).toLowerCase();
<br>
<br>
&nbsp;&nbsp; <br>
&nbsp;&nbsp; if(key == 't'){ myFunction(); }
<br>
<br>
<br>
return false; }
<br>
<br>
}
<br>
<br>
</div>
</body>
</html>