Attach an event listener to the element you are clicking on. For instance. with jQuery :
$("#test").click(function(){
yourInfoWindow.open(yourMap);
});
You need links to the info window you want to open and to the Google Map object. See the API link and examples .
source
share