|
> From: Bartell, Aaron L. (TC) > > Could you share that piece of JavaScript or post a link on how to learn to > map keys from the broswer? It depends on what you plan to do with the fkeys, but in general, you need an onkeypress function that looks something like this: fnkey = -1; if ((key >= 112) && (key <= 123)) fnkey = key-111; if (window.event.shiftKey && fnkey > 0 && fnkey < 13) fnkey += 12; if (fnkey > -1) { // An FKEY was pressed, and the key (1-24) is in fnkey (...) } Joe Pluta www.plutabrothers.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.