Created
May 9, 2015 11:35
-
-
Save apricot13/f74e254f16a3b90a93c6 to your computer and use it in GitHub Desktop.
Google Maps: popup map
Uses fancybox http://fancybox.net/ (not fancybox 2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a id="popupmap" href="popuplocationmap.html"><img src="map.png" width="31" height="33" class="contactMap"/></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("a#popupmap").fancybox({ | |
'frameWidth': 600, 'frameHeight': 500, | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Untitled Document</title> | |
</head> | |
<body> | |
<iframe width="600" height="500" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?q=cardiff+medicentre&hl=en&sll=51.513657,-3.214703&sspn=0.086746,0.154324&ie=UTF8&hq=cardiff+medicentre&hnear=&vpsrc=6&ll=51.507674,-3.18346&spn=0.006678,0.012896&z=16&iwloc=A&output=embed"></iframe><br /><small><a href="http://maps.google.co.uk/maps?q=cardiff+medicentre&hl=en&sll=51.513657,-3.214703&sspn=0.086746,0.154324&ie=UTF8&hq=cardiff+medicentre&hnear=&vpsrc=6&ll=51.507674,-3.18346&spn=0.006678,0.012896&z=16&iwloc=A&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment