disable help in netscape

V

vivek1.ks

I am creating a webbased application. What I want to do is while
pressing the F1 key the help page created by me should popup. It should
not forward to default help of the brouser.

How can I do that
 
J

Janwillem Borleffs

I am creating a webbased application. What I want to do is while
pressing the F1 key the help page created by me should popup. It
should not forward to default help of the brouser.

window.onkeypress = function (e) {
if (e.keyCode == e.DOM_VK_F1) {
// Do your stuff here
return false;
}
return true;
}

But, think again before modifying default behaviour. What if the user really
wants to get browser help? A better option would be to implement a Help
button in the application.


JW
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top