Yeah this is not a bug or something, this is just the way things should
work.

--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interfaces


On Tue, Feb 23, 2010 at 2:02 PM, Aaron Newton <[email protected]> wrote:

> having a debugger focused (like firebug) obviously is going to take focus
> away from the DOM, just as if you put your cursor into the location bar and
> started typing.
>
>
> On Mon, Feb 22, 2010 at 7:21 PM, Ryan Florence <[email protected]>wrote:
>
>> Sometimes when I've got inspector in the same window as my website I have
>> to click to body to get stuff to behave.  I love splitting hairs.
>>
>> On Feb 22, 2010, at 7:49 PM, Aaron Newton wrote:
>>
>> if the window is focused, the document is focused.
>>
>> 2010/2/22 Fábio M. Costa <[email protected]>
>>
>>> it wont work if the document is not "focused".
>>>
>>> --
>>> Fábio Miranda Costa
>>> Solucione Sistemas
>>> Engenheiro de interfaces
>>>
>>>
>>>
>>> On Mon, Feb 22, 2010 at 9:25 PM, Aaron Newton <[email protected]> wrote:
>>>
>>>> event bubbling should send all key strokes up to document.body unless
>>>> you are catching them and calling stopPropagation on them...
>>>>
>>>>
>>>> On Sun, Feb 21, 2010 at 2:03 PM, Oskar Krawczyk <
>>>> [email protected]> wrote:
>>>>
>>>>> Tried $(document.body).focus();​​ ?
>>>>>
>>>>> If that doesn't work, post the code to jsfiddle.net and paste back a
>>>>> link to the Mailing List.
>>>>>
>>>>>
>>>>> On 21 Feb 2010, at 21:54, waveydab wrote:
>>>>>
>>>>> > Hi,
>>>>> >
>>>>> > I'm trying to get what I'll call global hotkeys working for some
>>>>> > debugging I'm doing. I've tried defining event listeners for the
>>>>> > "document" but that still seems to require clicking(giving focus?) to
>>>>> > the document before they'll operate. Any ideas?
>>>>> >
>>>>> > david
>>>>>
>>>>>
>>>>
>>>
>>
>>
>

Reply via email to