Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet Explorer turn off F1 = Help

Status
Not open for further replies.

EddieJ300

IS-IT--Management
May 9, 2002
51
We access a web site that we need to hit F1 to submit. Really it is F13 (shift F1). When we hit shift F1 or F13 the submit for the web site does happen but the Internet Explorer Help opens. The user then needs to close that dialog box before they can continue with their work.

Eddie
 
The following will stop Shift + F1 from bringing up the help in IE, but will allow regular F1 to act as normal:

Code:
<html>
<head>
	<script type="text/javascript">
	<!--
		onhelp = function(evt) {
			var eventData = evt ? evt : event;
			if (eventData.shiftKey) return(false);
		}
	//-->
	</script>
</head>

<body>
	Some content here...
</body>
</html>

If you need to discuss this code further, you should really take it to the JavaScript forum (forum216)

Hope this helps,
Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top