Hi,
I have a problem i am using google map have multiple pins i want to click on pin fancybox open and i will show detail in fancybox. my code is
jQuery(document).ready(function(){
var myMarkers = {"markers": [
<?php
$gd=0;
foreach($deals->deals as $map)
{
if($gd<5)
{
?>
{"latitude": "<?php echo $map->options[0]->redemptionLocations[0]->lat; ?>", "longitude":"<?php echo $map->options[0]->redemptionLocations[0]->lng; ?>", "icon": "images/grouppin.png", "baloon_text": '<strong><?php echo $map->options[0]->redemptionLocations[0]->streetAddress1.' '.$map->options[0]->redemptionLocations[0]->streetAddress2; ?></strong>'},
<?php
$gd++;
}
}
?>
]
};
jQuery("#map").mapmarker({
zoom : 10,
center : '<?php echo $city.', USA'; ?>',
markers : myMarkers,
});
this is my code it show multiple pins on map. now how to open a fancybox when click on pin