2 msgMozilla Media Player Plugin for Mindfield .
6 msgAnother lockup problem
3 msgPlaces-visited list

up and arrow keys not being passed into event l...
\ Karl (7 Mar 2008)
. \ David McRitchie (7 Mar 2008)
. \ Karl (7 Mar 2008)

1 msgRead Mail button
4 msgBlack diamonds
16 msgmidi files
2 msgSome button don't work after upgrade.
1 msgSilly question to Firefox developers (which fon...
5 msgBand Problem
5 msgDOES VISTA WORK BETTER WITHOUT FIREFOX?
12 msgLAN addresses with proxy
3 msgdoes Firefox 2.0.0.12 causes SYN FLOOD on vista?
10 msgDownloads: 'Scanning for viruses' for last 6 ho...
4 msgHow to install firefox 3.3 and while maintainin...
8 msgInstalled Firefox3b3 (with FF2.0.0.12 already t...
3 msgBookmarks <--> OpenBook <--> UserCh...
2 msgIncorrect Formatting of Unicode
1 msgRe: Firefox won't save files
6 msgemail links = crash
Subject:Re: up and arrow keys not being passed into event listener withversion 2.0.0.12
Group:Mozilla-support-firefox
From:Karl
Date:7 Mar 2008


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