Under IE 5.5 on Win98 boxes (and possibly other
configs) curKey returns uppercase alphacodes for a-z, and incorrect codes for
shift-numberics (ie. @#$&* as well as ;:"{}_+, etc. ). The
version I included of keys.js remaps those, curKey and shift, cntrl combinations
and the booleans for shi
What problem are you having with IE. I use it and have found the
e.curKey to be correct.
--
Robert Rainwater
On 4/1/2001, 3:18:26 PM EST, Stephen wrote about "[Dynapi-Dev] Key Events":
> How are the keycodes on IE? They appear to be all messed up. See my Reply in
> the D
---
From: Eytan Heidingsfeld <[EMAIL PROTECTED]>
To: Dynapi-Dev <[EMAIL PROTECTED]>
Sent: Sunday, April 01, 2001 7:05 AM
Subject: [Dynapi-Dev] Key Events
> In the keyevents if the key pressed is not between a to z we just ignore
it
> and keep the value of the curKey. I think
In the keyevents if the key pressed is not between a to z we just ignore it
and keep the value of the curKey. I think we should change it to undefined
meaning:
This line:
if (((curKey>='a')&&(curKey<='z'))||((curKey>='0')&&(curKey<='9')))
this.charKey=curKey;
Should be replaced with
if (((curKey>
It appears that the version I sent earlier didn't work in IE (found the
wrong event object).
The attached version works and bubles as usual. I'll also be sending
this to the patch web site so that everyone can see it.
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
key.zip