Page 1 of 1

opening Shadowbox from HTML5

Posted: Wed Dec 28, 2011 10:30 pm
by Virtualgeoffrey
Hi all,
Has anyone had any success using shadowbox from an HTML5 pano?

It is working in a swf file but I am getting a blank white page when I call it from HTML5.

As a hotspot URL
javascript:Shadowbox.open({ content: 'mypage.html', player: "iframe", title: "",height:"550",width:"600" });

I have added script below to the html page.

<link rel="stylesheet" type="text/css" href="shadowbox/shadowbox.css">
<script type="text/javascript" src="shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
players: ["html" , "swf" , "iframe"]
});
</script>

any thoughts?

Thanks,
Geoffrey