Hi,
How to put the iframe inside (over) the krpano viewer?
What is wrong in my code? (The iframe is ahead, not inside viewer)
HTML
<!DOCTYPE html>
<html>
<head>
<title>krpano.com - maqueta</title>
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<style>
@-ms-viewport { width:device-width; }
@media only screen and (min-device-width:800px) { html { overflow:hidden; } }
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; }
</style>
</head>
<body>
<iframe
src="../maqueta/test.html" name="iframe2" id="iframe2" height="300" width="400">
</iframe>
<script src="../maqueta/tour.js"></script>
<div id="pano" style="width:100%;height:100%;">
<noscript><table style="width:100%;height:100%;"><tr style="vertical-align:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
<script>
embedpano({swf:"../maqueta/tour.swf", xml:"../maqueta/tour.xml", wmode:"transparent",target:"pano", html5:"prefer", passQueryParameters:true});
</script>
</div>
</body>
Alles anzeigen
Regards,
Fernando