This works in IE but not in Netscape.
<SCRIPT language="javascript">
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
function keyDown(e) {
if (ns4) {var nKey=e.which; var ieKey=0}
if (ie4) {var ieKey=event.keyCode; var nKey=0}
alert("nKey:"+nKey+" ieKey:" + ieKey)
return false;
}
document.onkeydown = keyDown
if (ns4) document.captureEvents(Event.KEYDOWN)
</script>
Ed Matlack
Production Director
Multimedia Pathways, Inc.
http://www.mpathways.com
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.