|
-
Oct 2nd, 2002, 03:39 AM
#1
Thread Starter
Fanatic Member
HOW DO I: replace the ctrl+f funcion of IE
I have made my own modal dialog box which brings up some data
for the user to search through. I have given a button which would display the modal dialog, but I would like to give it a hotkey. I particularly want to use CTRL+F, but this always brings up the IE find box.
Any suggestions?
-
Oct 2nd, 2002, 06:36 AM
#2
Addicted Member
<HTML>
<HEAD>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function document_onkeydown() {
if ( (event.keyCode == 70 || event.keyCode == 102) && event.ctrlKey == true )
{
alert('ctr-f')
}
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE=javascript FOR=document EVENT=onkeydown>
<!--
document_onkeydown()
//-->
</SCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>
-
Oct 11th, 2002, 11:54 AM
#3
Frenzied Member
Does any have, or know where to find a list of the keys?
thx
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Oct 11th, 2002, 11:57 AM
#4
Frenzied Member
Its giving me my function and the IE find box... any ideas?
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Oct 16th, 2002, 04:12 PM
#5
Frenzied Member
*bump*
(see both prev posts)
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Oct 17th, 2002, 04:57 AM
#6
Frenzied Member
Can you not just use accesskey instead?
Code:
<input accesskey="F" value="Alt + F" type="button" />
I think that means windows uses Alt + F and Mac uses Cmd + F, or is that not what you want?
-
Oct 17th, 2002, 08:41 AM
#7
Frenzied Member
Actualy I was hoping for ctrl+f cos this app I am working on is an online version of our user database that is origonaly done localy in FileMaker. People have grown so used to the ctrl+f to find records that I was hoping to be able to use it 
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|