dear forum dear klaus
is it possible to load an other scene out of a html iframe...
<hotspot name="iframe_2"
url="%HTMLPATH%/a.files/skin/trans2.png"
ath="180" atv="0"
distorted="true"
renderer="css3d"
alpha="0.3"
onover="tween(alpha,1)"
onout="tween(alpha,0.3)"
onloaded="add_iframe('objekte/001_out/images.html', 640, 426);"
/>
<action name="add_iframe" type="Javascript">
var iframe = document.createElement("iframe");
iframe.style.position = "absolute";
iframe.style.left = 0;
iframe.style.top = 0;
iframe.style.width = "100%";
iframe.style.height = "100%";
iframe.style.border = 0;
iframe.src = args[1];
caller.registercontentsize(args[2], args[3]);
caller.sprite.appendChild(iframe);
</action>
and this is the iframe html
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style>#hb {background-color:powderblue}</style>
<style>#hg {background-color:#B7B7B7}</style>
</head>
<body>
<div style="padding:30px;">
blablabla...................
<span style="text-decoration:underline;cursor:pointer;" onclick="document.getElementById('krpanoSWFObject').call('loadscene(scene_Rathaus_Innenhof, null, MERGE|KEEPVIEW, BLEND(3));');" style="color:#FFFFFF;">link</span>
.......................................................................................................
</div>
</body>
</html>