[thelist] Mozilla: trapping keyboard combo

liorean liorean at f2o.org
Wed Feb 18 12:59:49 CST 2004


Scott Blanchard wrote:
> How can one detect if a user has typed CTRL+8 in mozilla/gecko browsers? 
> Below is the code I use for IE, but I can't figure how to do it for Moz. 
> Any help much appreciated. Crunch time for this project!

Have a look at 
<http://www.din.or.jp/~hagi3/JavaScript/JSTips/Mozilla/Samples/KeyEvent.htm> 
  it's a great tool for this.
As for using events, have a look at <http://www.brainjar.com/dhtml/events/>

-- 
David "liorean" Andersson

ViewStyles, ViewScripts, SwitchStyles and GraphicsInfo bookmarklets:
<http://liorean.web-graphics.com/>
Hangouts:
<http://codingforums.com/> <http://yourmusicforums.com/>


More information about the thelist mailing list