entering a z-index in the script tags enables the DIV(blue2png) to appear,..but then the pano fails to show,....any help direction would be apprec.,,,,as I am not that familiar w scripts
Rob
<script>
embedpano({target:"panoDIV",swf:"g.swf",width:"100%",height:"100%",allowFullScreen:"true"});
</script>
also trying with this code,..no luck
<!DOCTYPE html>
<html>
<head>
<title>krpano.com - swfkrpano.js example</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>
<div id="panocontent" style="width:100%;height:100%;z-index:-1;wmode:transparent;">
<noscript><table style="width:100%;height:100%;z-index:-1;wmode:transparent;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
</div>
<div style="position: absolute; width: 100px; height: 100px; z-index: 1090; wmode: transparent; left: 1024px; top: 234px" id="layer1">
<img border="0" src="blue2.png" width="120" height="120"></div>
<script src="swfkrpano.js"></script>
<script>
var viewer = createPanoViewer({swf:"g.swf"});
viewer.addVariable("xml","g.xml");
viewer.embed("panocontent");
viewer.addParam("wmode,transparent");
</script>
</body>
</html>
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »rbackhaus« (4. Januar 2011, 16:47)