Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q954

Feedback on: irt.org FAQ Knowledge Base Q954

Sent by Kevin Schlipper on April 06, 2000 at 16:39:14: - feedback #1051

Worth:
Not worth reading

Comments:
It is incorrect. It is possible to capture function keys being pressed with onkeydown. q.v. the following code:

document.onkeydown = keyhandler;

function keyhandler(e) {
if (document.layers)
Key = e.which;
else
Key = window.event.keyCode;
if (Key != 0)
alert("Key pressed! ASCII-value: " + Key);
}


Sent by Terry Schuld on November 21, 2000 at 09:00:26: - feedback #2043

Comments:
This script does not capture an Alt key event in either IE 5 or NN4 on my computer. In fact there does not seem to be any way to test for an alt key press in Navigator (ref: http://tech.irt.org/articles/js195/index.htm) although I can in IE through other means than the one presented here.


Sent by SRK Prasadh on January 14, 2001 at 07:07:49: - feedback #2241

Length:
Too short

Technical:
Not technical enough

Comments:
the code mentioned is not working fine except for the ordinary keys. I mean, when pressed control, shift or alt not giving any output into the controls as mentioned in the code.

Can anyone help me for my following problem:
I want to diable the refresh button which i can hide the tool bar but I SHOULD ALSO AVOID PRESSING F5 BY THE USER within the browser.

Awaiting your quick reply.


©2018 Martin Webb