On Nov 23, 6:02 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
>
>
> Something went wrong with your diff - maybe the wrong files?
>

Yes, the diff must  have been wrong. I see the differences now.

> One thing to try for test purposes is to make the timeout unreasonably long,
> just to see if that's the problem. I set the timeout in openInfoWindowForm()
> to 100 ms. Try 5000 ms (five seconds) and see what happens.
>
> That doesn't mean you'd use that long timeout in production, it's just to
> help determine why it isn't setting thefocuson your machine.
>

Yes, you are right again. Before my reply I had increased to 100 and
reported all that stuff about Cmd-Tab. It turns out that on Firefox
now
150 was high enough for everything to work just fine.

> If the longer timeout fixes it, then I'd try to determine what actual
> condition should be tested so the timeout isn't necessary. For example,
> whenReady() just check that document.getElementById() succeeds on the
> element. Maybe it also needs to check that:
>
> 1) The element and all of its parent elements are visible
>
> 2) The element is a child or descendant of a specific element - in this case
> the map container.
>
> Or, keeping it simpler, maybe it turns out that a somewhat longer timeout
> works on all machines, maybe 250 ms or some such. Experiment with it and see
> what happens.
>
> Also, to help you prioritize this vs. your other tasks, remember that no one
> will beat you up if thefocusdoesn't get set. Most people are going to
> click in the box anyway, *even if you set thefocus*. They know that many
> websites don't set thefocus, and rather than figure out which ones set it
> and which ones don't, they simply click in the box every time.
>

Yes you are right about prioritizing, too. This will be a very minor
issue
for almost any user.

Well, I think this matter is solved for now. You really were a huge
help, Mike.
Thank you.

> -Mike

Brian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to