views:

69

answers:

0

I want to implement Google Maps in my web page, but I struck with one problem. I want to implement the Google popup info window that is clickable, i.e. the control in the below function. The xml file having the following fields:

marker lat="43.65654" lng="-79.90138" html="university"  label="university" control="http://www.google.com/"   

in my google map webpage:

   function createMarker(point,name,html,control) {
        var marker = new GMarker(point);

        GEvent.addListener(marker, "click", function() {
            marker.openInfoWindowHtml(html +" "+control);
        });

        gmarkers.push(marker);

        side_bar_html += '<a href="javascript:myclick(' + (gmarkers.length-1) + ')">' + name +  '<\/a><br>';
        return marker;
      }

In the web page, when I click on university the info window appears in the screen. Within it, I am given the url. How do you make this URL clickable and redirect it to another function...?

pls help me...

Regrads, Murali