Hi all, I am having a pathetic amount of difficulty figuring out how
the make the url in the marker clickable. There's lots of mentions of
this in the group and no actual code - I'm not a javascript coder, I
have read string tutorials, but can't make this work - I just break
the pad application every time.

I'm successfully calling the url from the database - how do I make it
clickable?

Here's the code

    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 + url;
      GEvent.addListener(marker, 'click', function() {
        marker.openInfoWindowHtml(html);
      });
      return marker;
    }

I want users to see and be able to click on the url. Anyone got the
code?

Thankyou so much

Emma



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