> When I run the W3C validator, no matter what i put inside the
> openInfoWindowHtml, it doesn´t validate. I have tried divs, spans, ps,
> etc. It only validates plain text.

Bear in mind that the infowindow content doesn't exist as HTML in the
DOM until the infowindow is opened.  So far as a validator is
concerned, it's a bunch of text with < > inside a <script> tag.
Same as you would with any other script that included text with < >
content, hide the script from the validator by encldoing it within
CDATA delimiters.

http://javascript.about.com/library/blxhtml.htm

--~--~---------~--~----~------------~-------~--~----~
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