logo       

Marker HTML problem: msg#03166

GoogleMapsAPI

Subject: Marker HTML problem


Hello, I am having a problem structuring my html on my marker display
box. Maybe its just late, but i can't seem to get it to work. Maybe
someone could point me in the right direction.

Here is a link to the issue http://www.fishthatbite.com/loadmap.php

This is the line I need help with

var html = '<b>' + name + '</b> <br/>' + address + '<a
href="lake_profile.php?lake_id=' id '> More Info </a>';

The link with the id that I am trying to make is not working. If it
just have var html = '<b>' + name + '</b> <br/>' + address + id ;
it works just fine and shows the id number on the marker on the map.
Let me know if there is a better way to make a link for more info with
the id. Thanks, Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
Google-Maps-API+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise