Google maps in fancy box

I wanted to show up Google map of a certain place.
Looked through various solutions and end up with the following:

here is my code of the page with the trigger link to fancybox window.



    
   

    
    
    

    
    

    





local.js contains the following code:

$('a.fancybox').fancybox({
                'titleShow'             : false,
                'transitionIn'  : 'elastic',
                'transitionOut' : 'elastic',
                'hideOnContentClick': false,
                'overlayColor'      : '#000',
                'overlayOpacity'    : 0.8

        });

map.php look following:

$value)
{
        $$index=$value;
}

?>
        

  

Leave a Reply

%d bloggers like this: