I am running into an error loading my map because of my info window for a marker on my map. In the info window I want a link for the directions, so I was going to pass the destination coordinates in the URL. But it does not like the syntax I am using, I am getting no errors though.
var contentString2 = '<div id="content">'+
'<div id="siteNotice">'+
'</div>'+
'<h3 id="firstHeading" class="firstHeading"><a name="FLOSSMOOR STATION RESTAURANT & BREWERY"></A><strong><A HREF="redirect.cfm?address=http://www.flossmoorstation.com" TARGET="_blank">FLOSSMOOR STATION RESTAURANT & BREWERY</A></strong></h3>'+
'<div id="bodyContent">'+
'<p><a href="index.cfm?in='document.write(initialLocation);'+'&'+'document.write(myLatlng2);'+'">Directions</a></p>'+
'</div>'+
'</div>';
with this variable for the info window I get the lovely grey screen with out the map loading, also is there a better way going about making the info-window div? thanks!