Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Intercepting Ctrl-F


Message #1 by "Sten Hougaard" <STG@e...> on Thu, 9 Jan 2003 09:45:49 +0100
Hi,

Anyone got any ideas how I can intercept keyboard press "ctrl" and "F"?


It is only relevant in MS IE - forget Netscape concerns :-)

I allready have an extensive keyUp handling - for instance:

// KEY         : CTRL-C
// Action :    Create shortcut/copy of current element(s)
// Remark :
if (onlyCtrl() && (keyCode=3D=3D67)) {
  CtrlC();
  return (true);
}

Here it is a press on ctrl+c (copy) which is handled - it works fine, b
ut
it seems that
Ctrl-F has some kind of higher status for MS IE...

Chees and a happy new year to you all!!

Sten Hougaard
EDB Gruppen
Application developer/web-designer
ASPECT/4 e-novation
Bredskifte All=E9 15
DK-8210 =C5rhus V
Tlf. +xx xx xx xx xx
Fax +xx xx xx xx xx
Mobil +xx xx xx xx xx
E-mail: stg@e...



  Return to Index