I'd read that page but hadn't realised it applied to this
case....thanks for your help, and I'm fixed up - I read a post where
someone said that the quotes in strings contain everything that doesnt
change and the penny dropped. I don't do javascript :(

Here's the code that does what I want in case anyone else gets stuck

    function createMarker(point, name, address, town, county,
postcode, telephone, url, distance) {
      var marker = new GMarker(point);
      var html = '<b>'+ name + '</b><br>' + address + ', '+ town +
'<br>' + telephone + '<br>' + '<a href=' + url + '>'+ url +'</a>';
      GEvent.addListener(marker, 'click', function() {
        marker.openInfoWindowHtml(html);
      });
      return marker;
    }

On Apr 11, 7:43 pm, Ralph Ames <[email protected]> wrote:
> Try Mike's tutorial
>
> http://econym.org.uk/gmap/basic1.htm
>
> Ralph
--~--~---------~--~----~------------~-------~--~----~
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