Jump to content

shadowbox hell :(


jk11uk

Recommended Posts

Hi

 

I havent found anything about anyone else having issues with this, so very weird. I've cut my code down to the simplest it could be and it still doesnt work:

<link rel="stylesheet" type="text/css" href="shadowbox.css">
<script type="text/javascript" src="shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init();
</script>
</head> 
<body>
<script type="text/javascript">
function OpeniFrameURL(url) {
    Shadowbox.open({
      content: url,
      player:  "iframe",
      height:  480,
      width:   640
    });
  }
</script>

<a href="#" onClick="OpeniFrameURL('www.google.com');">test</a>

 

its supposed to open an iframe in shadowbox. (and yes, i've got a top and bottom to this code :)

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/202775-shadowbox-hell/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.