[thelist] trapping keyboard combo on Mac OSX

Scott Blanchard octigonuser at hotmail.com
Wed Feb 18 18:27:02 CST 2004


I need to trap CTRL+8 keyboard combination in Gecko/Mozilla on a Mac (OSX 
10.2). Here's my code to do it on PC...

document.onkeydown = checkHandles;
function 
checkHandles(e){if(document.all){e=window.event;}if((e.ctrlKey)&&(e.keyCode==56)){if(session){doHandles()}else{doLogin()}}}



Any help much appreciated!!!

_________________________________________________________________
Get a FREE online computer virus scan from McAfee when you click here. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



More information about the thelist mailing list