<!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 <a name="thereUgo"> in my
document... <br>
Just as you would jump to a content <a name="thereUgo"> when you
click on a <a href="#thereUgo>... 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>
if (e == null) { // ie
<br>
<br>
keycode = event.keyCode;
<br>
<br>
} else { // mozilla
<br>
<br>
keycode = e.which;
<br>
<br>
}
<br>
<br>
key = String.fromCharCode(keycode).toLowerCase();
<br>
<br>
<br>
if(key == 't'){ myFunction(); }
<br>
<br>
<br>
return false; }
<br>
<br>
}
<br>
<br>
</div>
</body>
</html>