Open the marker by clicking here or by clicking on this

Code to generate this page:

<?php
include_once("../include/GoogleMap.php");
include_once("../include/JSMin.php");

$MAP_OBJECT = new GoogleMapAPI(); $MAP_OBJECT->_minify_js = isset($_REQUEST["min"])?FALSE:TRUE;
$MAP_OBJECT->setDSN("mysql://user:[email protected]/db_name");

//Create marker and store it in
$marker_1_id=$MAP_OBJECT->addMarkerByAddress("Denver, CO","Marker Title", "Marker Description");

//Create custom openers
$MAP_OBJECT->addMarkerOpener($marker_1_id, "marker_opener1");
$MAP_OBJECT->addMarkerOpener($marker_1_id, "marker_opener2");


?>
<html>
<head>
<?=$MAP_OBJECT->getHeaderJS();?>
<?=$MAP_OBJECT->getMapJS();?>
</head>
<body>
<?=$MAP_OBJECT->printOnLoad();?>
<?=$MAP_OBJECT->printMap();?>
<?=$MAP_OBJECT->printSidebar();?>

Open the marker by clicking <a href="#" id="marker_opener1">here</a> or by clicking on this <button id="marker_opener2" >Button</button>
</body>
</html>