That would explain the error, but I am not sure I agree that that's what
it is... the function is being called from the body's onLoad handler,
which is the single most reliable way to ensure that it doesn't execute
until the page has finished loading.  I'll look around, but I don't
think there is a better way to code it.

  - paul

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of
Chris
> Hilts
> Sent: Saturday, February 15, 2003 12:53 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [SM-USERS] load w/ errors under 1.2.11
> 
> > Line:  10
> > Char:  5
> > Error: Can't move focus to the control because it is invisible, not
> > enabled, or of a type that does not accept the focus.
> > Code:  0
> > URL:  http://webmail.sofast.net/src/login.php
> 
> This is an error in some browsers.  Basically, the javascript is
running
> before the page is fully rendered, and so it cannot move the focus to
the
> name box, since it does not exist yet.  I'm certainly no javascript
> expert, so I'll have to rely on someone else to create a workaround.
> 
> --
> Chris Hilts
> [EMAIL PROTECTED]
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> --
> squirrelmail-users mailing list
> List Address: [EMAIL PROTECTED]
> List Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info:
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to