disable help in netscape

Discussion in 'Javascript' started by vivek1.ks@gmail.com, Jan 4, 2006.

  1. Guest

    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, 2006
    #1
    1. Advertising

  2. 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
     
    Janwillem Borleffs, Jan 4, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kekec
    Replies:
    2
    Views:
    908
    Kekec
    Feb 12, 2004
  2. Tom
    Replies:
    0
    Views:
    500
  3. Mickey Segal
    Replies:
    1
    Views:
    668
    Mickey Segal
    May 21, 2004
  4. Joe Price
    Replies:
    6
    Views:
    648
    Joe Price
    Sep 26, 2003
  5. yaktipper
    Replies:
    10
    Views:
    285
    Richard Cornford
    Jul 10, 2003
Loading...

Share This Page