Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How do I disable Hot Keys in IE 5 ?

    I'm working on a page that will only be viewed by users using IE 5.5.

    I've got the page opening with all toolbars hidden. However, I need to disable all of the shortcut keys ( e.g. CTRL+R - reload).

    I know that there is a function in Netscape called setHotKeys() which you can set to false. However, I can't find an equivalent for IE.

    I've tried capturing a CTRL + Key combination using event.CtrlKey but this only works for key combinations that are not IE shortcut keys.

    Any help would be greatly appreciated.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can't. As you've seen, you can capture those events and make them do other things, but you can't suppress their native action.

    You should try some keypress programming for Opera - it has more hot keys than Theolonius Monk's piano

  • #3
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,037
    Thanks
    0
    Thanked 250 Times in 246 Posts
    why not just bar IE5 users in your site? you can easily do this by using Conditional comments of IE 5

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by glenngv
    why not just bar IE5 users in your site
    Now now ... two wrongs don't make a right


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •