From: <hv...@ya...> - 2000-11-05 14:14:49
|
I'm trying to do my own custom extensions (which I will contribute if successful). One of which I'm working on is getting together an similar set of eventhandlers for keyboard keys. I've seen Scott Andrew has one for the Dan Steinman's original Dynapi at his site and found an example at Bratta.com. I've tried to merge these with a copy of the existing mouseevents (core.api.events.js). I'm neither a well-experienced nor advanced DOM-developer, so I have some questions... 1) Have anybody tried and/or successfully applied keyevents to DynAPI 2? (I'd hate to do it in vain if so...) 2) Does anybody know if it is possible to override the browsers keycombinations with the CTRL, ALT, SHIFT-keys, or will the browser always override any events in the DOM? (This should be essential to develop real webapps...) As I come to think of it: is there any responding keys for mac-users to the CTRL, ALT, SHIFT -keys for PC? Are they logically comparable? 3) What is the bubbleevent (as found in core.api.events.js) and what is it used for? Could it be of any use for keyevents? (I probably missed out on a valuble lesson with this) 4) Is it possible to capture non-alaphabetic keys like the arrows (if they're not overidden by browser functions of course)? 5) Does anybody have a list or know how to get one for how the keycode responds to the keyboard keys in the different browsers/systems? Does international keyboard layouts respond different? (in case it does the task is almost too big to be one-fits-all I believe) regards to all DynAPI developers Henrik Våglin http://hvaglin.freesqlhost.com __________________________________________________ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/ |