| |||||||||||||||||||||||||||||
|
Thanks but no it doesn't help. Let me illustrate with a sample. If I define an event listener for key press events. document.addEventListener( 'keypress', onKeyPressed, 0 ); onKeyPressed=function( e ) { alert( 'got here'); }; If I am on the page and focus is not set on a text edit box and I press the up or down arrow the alert will display. But if I select and set focus on a text edit box and press up or down arrow keys the onKeyPressed event never gets fired. Basically, this was workinig fine with FF 1.5 and in the latest FF2 version it doesnt work, we have customers that are used to performing some actions based on the key combinations of ctrl-up or ctrl-down within an edit box and now it isnt workinig with FF2 and I am trying to figure out how to perserve this feature. It is almost like the search engine text edit box is checking for ctrl-up and ctrl-down key pressed events to toggle through the search engine list and it is swallowing up any key press combinations with the up and down arrow. This assumption is based on the only other place in the browser that I can think that uses a text edit box and the up and down arrow keys. Thanks for you help. "David McRitchie" <nospam@nospam> wrote in message news:Dfmdnf-AXdzHOkzanZ2dnUVZ_gWdnZ2d... > "Karl" wrote... >> In previous versions of Firefox I used to be able to perform actions in >> text boxes when the user would press control-up or control-down keys. In >> any case the event listener for key down events would always be received >> for up and down arrow keys. In the latest version of Firefox these key >> down events (up-arrow and down-arrow) never make it to my event listener >> that I have created in javascript code. > > Try hitting F7 to toggle caret browsing, does that help? > > If it did then see > http://www.mvps.org/dmcritchie/firefox/firefox.htm#findproblem > > and I would then suggest the use of user_pref statements in user.js > > > -- > HTH, > David McRitchie, > Firefox Custom: http://www.mvps.org/dmcritchie/firefox/firefox.htm > _______________________________________________ support-firefox mailing list support-firefox https://lists.mozilla.org/listinfo/support-firefox To unsubscribe, send an email to support-firefox-request?subject=unsubscribe
| ||||||||||||||||||||||||||||
© 2004-2008 readlist.com