× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



IE, FF, Chrome can all be made to work with F1-F24. Safari is the only one of those that has a problem with F5, otherwise all other F keys can be handled. I am told the cmd key code (JS) works with most browsers (I have seen a really bizarre list of browsers). I was not the one to make it work though, I just know it does, so I have no details...


----- Original Message ----- From: "Bryce Martin" <BMartin@xxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Tuesday, May 10, 2011 8:31 AM
Subject: Re: Warning - Firefox v4 not compatible with HMC 7.7.1


William,
You cannot stop some events from happening. In FF you can see that F5 is
pressed but there is not anything you can do to stop it from refreshing
the page with javascript, at least as far as I know. The same is true
with F12 and firebug installed.


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777



"William A. Hansen" <whansen@xxxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
05/09/2011 06:49 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
<midrange-l@xxxxxxxxxxxx>
cc

Subject
Re: Warning - Firefox v4 not compatible with HMC 7.7.1






Capturing function keys can be a chore, but it is fairly straightforward.

As in all browsers, IE accepts the onKeyPress event. Define it as
onkeypress='myFunction(event)'. Within the event handler, you can
interrogate the event with event.keyCode to get the ASCII code of the key
pressed. The trick is to use event.cancelBubble = true; to stop the event
from percolating back to the browser.

The remaining nasty bit is the F1 key. Unlike other browsers, IE supports
an onHelp event (as well as onContextMenu to capture right-clicks). I
need to capture this because my entry-level course teaches people how to
use F1 in all the glorious ways that IBM i supports. I don't want the IE
help window to pop up.
Bill



William A. Hansen
whansen@xxxxxxxxxxxxx
Manta Technologies Inc.
Toll-free: (800) 406-2682 x 101
Direct: (303) 862-4562
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--- This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us and destroy this message immediately. --- --
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.