hi i am working on a php cms and i want to add krpano to like a component in this cms.
i can create xml files(xml.php) from php and mysql and embed in panorama but i can not pass params to this xml.php
i tried globals and session not working ,
tried jquery loads with params not working...and many other things.
so basicly pano.php
PHP
<?php
$itemid=1;
$albumid=3;
?>
<script src="/bilesen/panorama/tema/pano.js"></script>
<div id="pano" style="width:800px;height:600px; margin:0 auto;">
<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:"/bilesen/panorama/tema/pano.swf",
xml:"/bilesen/panorama/tema/xml.php?ilanid=<?php echo $itemid ?>&albumid=<?php echo $albumid ?>",
target:"pano",
html5:"auto",
passQueryParameters:true
});
</script>
</div>
<!--panorama END-->
Alles anzeigen
and xml.php cant get this itemid and albumid params because its loading in swf pano
so how can i send params from pano.php to xml.php
or how can i load this xml.php in to pano.php