Hello,
What is the correct Doctype to be used in the index.html? I tried everything but the viewer won't load then. If I remove the DTD it loads normally.The doctype is nessecary for certain IE styling elements (posistion).
I use SWFobject 2 in my html
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl">
<head>
<title>
</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta content="follow" name="robots">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<script type="text/javascript" src="swfobject/swfobject.js"></script>
<script type="text/javascript" src="swfobject/swfkrpanomousewheel.js"></script>
<script type="text/javascript">
if (swfobject.hasFlashPlayerVersion("6.0.0"))
{
swfobject.embedSWF("krpano.swf", "krpano",
"100%", "100%", "9.0.28",
"swfobject/expressInstall.swf",
{pano:"./pano/photo_0_1.xml", license: "license.gif"},
{allowfullscreen:true, bgcolor:"#FFFFFF", wmode:"window"},
{id:'krpano', name:'krpano'});
swfkrpanomousewheel.registerObject("krpano");
}
</script>
<style type="text/css">
#html, body {
margin:0;
padding:0;
background-color:#cccccc;
background-repeat:no-repeat;
}
div#container {
overflow:visible;
position:relative;
width:100%;
height:100%;
z-index:1;
}
div#top {
overflow:visible;
position:relative;
width:90%;
margin-top:-20px;
background-color:#ffffff;
z-index:1;
}
div#wrapper {
margin: 0;
width: 100%;
height: 100%;
</style>
</head>
<body>
<div id="wrapper" align="center">
<div id="container">
<div id="errorreport">
<script type="text/javascript">
if (!swfobject.hasFlashPlayerVersion("6.0.0"))
{
document.getElementById("errorreport").innerHTML = '';
}
</script>
</div>
<div id="krpano">
<noscript>Error: Javascript disabled</noscript>
</div>
</div>
</div>
</body>
</html>
Display More