我想這不加載HTML/iFrame中...
我感興趣過,這就是我如何管理(和它在一個iFrame的正常工作)一GoogleMap的正確方法:使用「蘋果的iWeb」小部件谷歌地圖......這是一個低成本的軟件...
它在 「myGoogleMap.html」 我的HTML代碼(後我丟棄所有未使用的HTML):
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="iWeb-Build" content="local-build-20110308" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="viewport" content="width=700" />
<title>Testo
</title>
<link rel="stylesheet" type="text/css" media="screen,print" href="Vuoto_files/Vuoto.css" />
<!--[if lt IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='Vuoto_files/VuotoIE.css'/><![endif]-->
<!--[if gte IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='Media/IE8.css'/><![endif]-->
<script type="text/javascript" src="Scripts/iWebSite.js"></script>
<script type="text/javascript" src="Scripts/Widgets/SharedResources/WidgetCommon.js"></script>
<script type="text/javascript" src="Scripts/Widgets/GoogleMap/GoogleMap.js"></script>
<script type="text/javascript" src="Vuoto_files/Vuoto.js"></script>
</head>
<body style="background: rgb(0, 0, 0) margin: 0pt; " onload="onPageLoad();" onunload="onPageUnload();">
<div class="com-apple-iweb-widget-GoogleMap aboveStrokesAndFrames" id="widget1"
style="height: 400px; left: 0px; opacity: 1.00; position: absolute; top: 0px; width: 320px; z-index: 1; ">
</div>
<script type="text/javascript"><!--//--><![CDATA[//><!--
new GoogleMap('widget1', 'Scripts/Widgets/GoogleMap', 'Scripts/Widgets/SharedResources', '.', {"language": "it", "showInfo": "0", "locatedAddressIsFromGeocoder": "1", "unlocatedAddress": "", "zoomLevel": "6", "center": "51.261915,10.151367", "locatedAddressPoint": "19.56661,-99.134932", "locatedAddress": "my address in Mexico, Pico de Orizaba 3A, Lomas de Cuautepec, Delegazione Gustavo A. Madero, Cittá del Messico, Distrito Federal, Messico", "showGoogleBar": "1", "showMarker": "1", "showZoom": "1"});
//--><!]]>
</script>
</body>
</html>
我這個加載它在另外一個HTML:
<iframe width="320" height="400" frameborder="0" scrolling="no" marginheight="0"
marginwidth="0" src="Sito-test/myGoogleMap.html">
</iframe>
當然
你需要使用iWeb犯了太多的JavaScript,但我不知道我可以合法地向他們展示...
無論如何,重點是,現在你知道可以在沒有「安裝應用程序問題」的情況下將其加載到iFrame中...
有趣的問題。不能說我見過一個這樣的網站。它似乎總是加載一個應用程序。授予我不使用我的iPhone中的網絡瀏覽器太多.... – 2011-03-08 09:26:17