To: svg-developers@yahoogroups.com
Subject: [svg-developers] Re: No Keyboard Events
The onfocusin event seems to fire (in IE 9) when one selects text (as when
highlighting text with a mouse while preparing to copy it). I don't see it
firing in FF 6 or Chrome 13, though.
--- In svg
You can implement your own focus system. For example, see the following
example comprising two editable text areas (Firefox only):
http://live.echo-flow.com/experimental/vi-everywhere/multi-editor.svg
Jake
On Wed, Sep 14, 2011 at 8:06 PM, dark3251 dark3...@gmail.com wrote:
Interesting. I
-developers] Re: No Keyboard Events
Interesting. I could just keep track of the last element clicked or
something similar. Certainly not ideal but I can live with that until
something better comes along.
So what would be the actual function of these focus events if there are no
built
* Jacob Beard wrote:
Third, in your example, is it really necessary to prefix ecmascript to the
callback function name? My understanding is that, as opposed to clicking a
link with an ecmascript or javascript URI handler, the string contents
of on* attributes will simply be evaled in the global
(newfocusobj)
{
}
XXX.prototype.setFocus = function(oldfocusobject, newfocusobj)
{
}
From: svg-developers@yahoogroups.com [mailto:svg-developers@yahoogroups.com]
On Behalf Of dark3251
Sent: Donnerstag, 15. September 2011 03:11
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Re
@yahoogroups.com
Subject: Re: [svg-developers] Re: No Keyboard Events
Hi,
Just a few notes about your example.
First, I believe you should use document.documentElement as opposed to
document.rootElement.
Second, I think addEventListener is the recommended method for registering
event listeners on DOM
Message-
From: svg-developers@yahoogroups.com [mailto:
svg-developers@yahoogroups.com]
On Behalf Of Jacob Beard
Sent: Donnerstag, 15. September 2011 02:54
To: svg-developers@yahoogroups.com
Subject: Re: [svg-developers] Re: No Keyboard Events
Hi,
Just a few notes about your example
Hi,
The linked example is not meant to work cross-browser, but it demonstrates
the technique of rolling your own simple focus system using script, such
that individual elements are capable of receiving keyboard events, and that
technique can be applied across different SVG implementations.
Jake
@yahoogroups.com]
On Behalf Of Jacob Beard
Sent: Donnerstag, 15. September 2011 04:14
To: svg-developers@yahoogroups.com
Subject: Re: [svg-developers] Re: No Keyboard Events
Are there browsers that support SVG that do not also
support addEventListener?
On Wed, Sep 14, 2011 at 10:06 PM, Chris Peto
9 matches
Mail list logo