Hallo Klaus
Danke nochmals.
Beim Testen habe ich gemerkt dass nur mit
top.location="panoonly.html";
der Link auf panoonly.html funktioniert.
Mit
top.open("panoonly.html"); und window.open("panoonly.html");
wird die normale Start Seite (bei mir virtualtour.html) angezeigt (mit Html5 Inhalt) und nicht panoonly.html...
Wahrscheinlich liegt da irgendwo der Code schief:
Startseite (virtualtour.html):
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Grosser Mythen</title>
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
</head>
<body>
<script>
var ua = navigator.userAgent.toLowerCase();
if(ua.indexOf("ipad") >= 0 || ua.indexOf("iphone") >= 0 || ua.indexOf("ipod") >= 0)
{
top.open("panoonly.html");
}
</script>
<script src="swfobject/swfkrpano.js"></script>
<div id="container">
<h1></h1>
<div id="panoDIV" style="width:800px;height:550px;margin:20px auto;text-align:left;">
<script>
embedpano({target:"panoDIV",swf:"virtualtour.swf",width:"100%",height:"100%",allowFullScreen:"true"});
</script>
<noscript>
<div id="tour">
<object width="100%" height="100%">
<embed src="virtualtour.swf" width="100%" height="100%" allowFullScreen="true">
</embed>
</object>
</div>
</noscript>
</div>
</div>
</body>
</html>
Alles anzeigen
Das neue Fenster für iDevices (panoonly.html):
<!DOCTYPE html>
<html>
<head>
<title>title</title>
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style>
html { height:100%; }
body { height:100%; overflow: hidden; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:16px; color:#FFFFFF; background-color:#000000; }
a{ color:#AAAAAA; text-decoration:underline; }
a:hover{ color:#FFFFFF; text-decoration:underline; }
</style>
</head>
<body>
<script src="swfobject/swfkrpano.js"></script>
<div id="krpanoDIV" style="width:100%;height:100%;">
<noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
<script> embedpano({swf:"virtualtour.swf", xml:"virtualtour.xml", target:"krpanoDIV"}); </script>
</div>
</body>
</html>
Alles anzeigen
Sieht da jemand wo der Hund begraben ist?