User login

GMap not showing up (markers and controls, but map is gray) due to validation errors

This problem is only in IE6, because it's evil.

First thing noticed: while the background was gray, and not a map, a single click to change the map style (road map, geo, or hybrid) the map would instantly appear.

http://wsf.grassrootsconnection.org/eng/view/map

So with the theme changed to bluemarine, the map shows up.

Significantly, the pages in question validate correctly with bluemarine, and fail W3C XHTML validation with our hacked up darn table-based Beale Street theme (but it looked so shiny!)

So changing the theme back to bealestreet_wsf and going through the validation errors to try to fix them seems to be the way to go to fix the map in IE6. It's possible that other fixes, such as trying to get the script called in head rather than in the flow of the body, might also fix it-- but we have straight proof that changing the theme can fix the map, and we need to get validation anyway.

Resources:

http://validator.w3.org/
http://www.easypagez.com/maps/ieworking.html
http://recurser.com/articles/2007/07/26/jscript-debugger-for-ie/

Similar Problems

http://drupal.org/node/86023

Resolution

Searched words: 
Google Maps grey no show in Internet Explorer 6 (six) validation error div inside form gmap fails to load map first time IE6

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.