Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simple HTML help



Here is a version that doesn't require a button:

<HTML>
<HEAD>
<TITLE>Simple Redirect</TITLE>
<SCRIPT TYPE="text/javascript">
<!--
function checkkey(e)
{
var k;

if (window.event) {
 k = window.event.keyCode;
}
else if (e) {
 k = e.which;
}
else {
 return true;
}

if (k == 13)
{
   window.location=myform.url.value;
   return false;
}
else
   return true;
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME="myform">URL:
<INPUT TYPE="text" NAME="url" VALUE="" onKeyPress="return 
checkkey(event)">&nbsp;
</FORM>
</BODY>
</HTML>





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org