Hello everyone,
I was wondering if you can help me set variables externally and have the file set it internally...
These are links I want to change at certain times and I don't want to rebuild in kolor every time. Also this link is completely new page.
Here's some stuff that might help
Code
function imagelink {
return www.website.com/asdf.jpg;
}
function pagelink {
var link = "www.website.com";
return 'openurl(' + link + ', _blank)';
}
<script src="swfobject/swfkrpano.js"></script>
<div id="container">
<div id="panoDIV" style="height:100%;">
<script>
embedpano({target:"panoDIV",swf:"build.swf"});
embedpano.call("set(hotspot[spot0].url", imagelink);
embedpano.call("set(hotspot[spot0].onclick", imagelink);
</script>
<noscript>
<div id="tour">
<object width="100%" height="100%">
<embed src="build.swf" width="100%" height="100%" allowFullScreen="true"></embed>
</object>
</div>
</noscript>
Display More
Thank you everyone