Help with Shadowbox?

Q&A about the latest versions
Post Reply
Virtualgeoffrey
Posts: 58
Joined: Tue May 11, 2010 9:03 pm

Wed Nov 30, 2011 4:01 am

Hi all,

Thanks to hum@no.id and anahum for pointing me in this direction.
This will be a great solution if I can get it to work properly.

Trying to simply call an html page from a swf pano file using shadowbox.

I downloaded the shadowbox files and placed them in the same directory as the files.
I added the code below to my html page...

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

And within the pano I created a button which uses:
"mouse click" + "Go To URL" + javascript:Shadowbox.open({ content: 'my.html', player: "iframe", title: "Description" });

Do I need to reference a specific container or call it a certain way?
I have been using lightbox within the html 5 skin which has been working great but for some reason I can't seem to make the shadowbox work within the flash skin.
Any thoughts on what I might be doing incorrectly would be appreciated.

Thanks,
Geoffrey
Post Reply