這個簡短的教程應該幫助你:How to integrate Fancybox and Google Maps
顯示的地圖是一個隱藏的div像這裏面:
<div style="display:none; *margin-left:-9999px; *height:0px; *position:relative; *top:-500px; *display:block ">
<div id="mapBox" >
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q=25.052907,55.2702&num=1&vpsrc=0&ie=UTF8&t=m&z=14&ll=25.052013,55.270243&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?q=25.052907,55.2702&num=1&vpsrc=0&ie=UTF8&t=m&z=14&ll=25.052013,55.270243&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>
</div>
</div>
我想,鏈接,你正在尋找的,是這樣的一個內部iframe。點擊鏈接圖標後,你可以得到iframe,它位於你打開的頁面的左上角http://maps.google.com/maps?q=25.052013,55.270243