F1 key help

  • Thread starter Pos yo, quién si no!
  • Start date
P

Pos yo, quién si no!

Hi,

I need to use the F1 key, launching a custom
function, but I need to remove the browser
help screen (I.E. and Firefox)

Any idea?

Thanks in advance,

Enzo
 
V

VK

You cannot override system functions. But you can use F-keys left free
for your needs. Subset of such for both IE & FF is:

F2, F8, F9, F10, F12

So you could do rather elegantly: "press F1 for system help", "press F2
for my help"
 
M

Martin Honnen

Pos said:
I need to use the F1 key, launching a custom
function, but I need to remove the browser
help screen (I.E. and Firefox)

IE has
document.onhelp = function () {
// do your stuff here
};
 
P

Pos yo, quién si no!

Hell Vk,

I use e.stopPropagation(); e.preventDefault();
inside a function called from an input text and
works fine from Firefox, but only when I'm editing
this input.

thanks,

Enzo
 
A

ASM

Pos said:
Great script, but I need also Firefox ...

any way on my Mac F1 does anything
- IE5.2
- FF 10.04

and does no more why url above

Why to do not use some alt+key ? or ctrl+key ?
 
S

Stewart Gordon

VK said:
You cannot override system functions. But you can use F-keys left free
for your needs. Subset of such for both IE & FF is:

F2, F8, F9, F10, F12

So you could do rather elegantly: "press F1 for system help", "press F2
for my help"

Nonsense. There's no standard to the effect that every browser on every
OS must hook up the F1 key to launch "system help", nor to leave F2 free
for websites to mess with.

Moreover, no standard even stipulates that every piece of equipment
capable of displaying web pages must _have_ F1 and F2 keys.

Stewart.

--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:- a->--- UB@ P+ L E@ W++@ N+++ o K- w++@ O? M V? PS- PE- Y?
PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox. Please keep replies on
the 'group where everyone may benefit.
 

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

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top