> http://www.myislamap.com/?linkid=Webcam
Infowindow layout broken in Windows FF2 at first page load, then
becomes okay on page refesh.
Just as Andrew said, your 'Webcam' KML placemark includes an <img> tag
with no sizing info (width, height) in its <Description>. So the
infowindow is built to suit a zero-size <img>. Later, when the image
is already in browser cache, it can work the image size out
correctly. Give the <img> width and height attributes or styling.
This isn't doing what you think either -
<IMG src="http://www.myislamap.com/islaimages/123.jpg?" + new
Date().getTime()>
FF2 does the best it can with that, and translates it to
<img date().gettime()="" new="" +="" src="http://www.myislamap.com/
islaimages/123.jpg?"/>
Bear in mind this is a chunk of text within a KML datafile ; it can't
run javascript. When it is inserted into an infowindow, it becomes a
chunk of "real" HTML and is capable of executing javascript, but not
in that form.
--
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.