By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,959 Members | 1,139 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,959 IT Pros & Developers. It's quick & easy.

disable help in netscape

P: n/a
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

Jan 4 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
vi*******@gmail.com wrote:
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

Jan 4 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.