Quantcast

URGENT HELP PLEASE: IFRAME SHADOWBOX

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

URGENT HELP PLEASE: IFRAME SHADOWBOX

Alan
Hello, I have been spending hours trying to get a Shadowbox of a url page in an iframe.  All I get is a shadow effect but no content.  Can someone look at the code below and tell me what I am doing wrong?

<link rel="stylesheet" type="text/css" href="/shadowbox/shadowbox.css">
<script type="text/javascript" src="/shadowbox/shadowbox-iframe.js"></script><script type="text/javascript"> Shadowbox.init({ // let's skip the automatic setup because we don't have any // properly configured link elements on the page skipSetup: true }); window.onload = function() { // open a welcome message as soon as the window loads Shadowbox.open({ content: '/book.html', player: "iframe", height: 400, width: 350 }); }; </script>
Loading...