[thelist] Autofocus usability issues tackled

Matt Warden mwarden at gmail.com
Fri Oct 13 11:38:11 CDT 2006


On 10/13/06, Lee kowalkowski <lee.kowalkowski at googlemail.com> wrote:
> But then you've got onAvailable calls all over your code, just because
> you don't know/care when the DOM is going to be ready?  If you're not
> cautious, you could easily get up to 2000 timeouts/second waiting for
> everything and its dog, but if your users have got decent machines,
> they should be alright shouldn't they?  You could just execute your
> code the once when you know the DOM will contain your elements.

I thought we were talking about putting focus into an element. That
would be a single timeout. You have a point, but that's not what we're
talking about, and that's not what I was suggesting.

-- 
Matt Warden
Cleveland, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.



More information about the thelist mailing list