> How do I translate this code into Mozilla? It works on IE5+.
>
> <script language="javascript1.2" FOR="document" event="onkeyup">
> <!--
> if(event.keyCode == 83){ // s
>
> }
<html>
<head>
<script language="javascript1.2">
function keyUp(event) {
if (event.keyCode == 83) {
// do stuff
}
}
</script>
</head>
<body onkeyup="keyUp(event)">
</body>
</html>
should work
Boris
-----------------
617-864-9910
-----------------
Trying to handle strings with any language besides Perl feels
like trying to solder resistors to a motherboard with a forklift.