Re: Using passed object name as a string variable
Last night I bit the bullet and upgraded my home workstation to Firefox
1.5. Earlier I had upgraded my office, my son's computer and the linux
servers to FF1.5, so I had some idea about how it worked with my pages.
I'd held off, because once I upgraded that machine, I had to upgrade my
web pages so the info windows would look right. So, all my pages that
display info windows have (I hope) been fixed.
In Firefox 1.5, I see one or two errors on the javascript console for
every page:
Error: Expected ',' or '{' but found '*'. Ruleset ignored due to bad
selector.
Source File: http://www3.telus.net/DougHenderson/Example4c.html
Line: 14
Error: Error in parsing value for property 'z-index'. Declaration
dropped.
Source File: http://www3.telus.net/DougHenderson/Example4c.html
Line: 0
The first is due to the style required to make VML work in IE. The W3C
validator complains about that style as well.
The second must be generated from the API code, as I am not setting the
z-index for anything in my own code. The Google team will need to look
at this.
There is another diagnostic:
Error: The "coords" attribute of the <area shape="poly"> tag is not in
the "x1,y1,x2,y2 ..." format.
Source File: http://www3.telus.net/DougHenderson/Example4c.html
Line: 0
Source Code:
coords=""
that shows up several times when I click on a marker to open its info
window. Again, it looks like this is in the API code.
The code behind the Recenter and Reenter and Zoom buttons is not as
robust as it could be. I get script errors as well if I click them
before adding any markers. If you have placed at least one marker on
the map, they both work without diagnostics.
These three buttons offer variations on solving the problem of moving
and zooming so all markers are visible. I think they are technically
correct, but are still slightly unsatisfying.
0 Comments:
Yorum Gönder
<< Home