html content does not load

10 messages Options
Embed this post
Permalink
Marc

html content does not load

Reply Threaded More More options
Print post
Permalink
Hello there,

My apologies -- I'm new to using shadowbox.  I'm having trouble getting html content to load.  The background darkens, but the shadowbox window does not load with my html content inside.

I'm using swf object as well -- and I've placed it before the shadowbox scripts.
In the head of my page I have:

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

and below I'm calling:
< a href="yogurt_vanilla.html" rel="shadowbox" title="Vanilla Yogurt">Vanilla

But no dice.

Here's a link to the live page:
http://www.potterfamilyorganics.com/work/products.html
I'm experiment with shadowbox in the FIRST product section dropdown menu.

Any help would be GREATLY appreciated.  Thanks.
econaut

Re: html content does not load

Reply Threaded More More options
Print post
Permalink
I'm just learning too, and having an issue with loading and calls.

Unless there is a typo in your post to the forum, there is not a closing tag < /a>,for the script you're calling.

*(delete the space, I did that so it would not parse here)
Marc

Re: html content does not load

Reply Threaded More More options
Print post
Permalink
Yes, I did that on purpose -- as well as added a space before the a.  Thank you though -- You know how it gets when you've been looking over the same code for days...
Marc

Re: html content does not load

Reply Threaded More More options
Print post
Permalink
*Push*

Any help would be greatly appreciated...  If it counts for anything, I have purchased a license for SB.  

For some reason, the SB-wrapper div and everything below it is Grayed out in firebug (I'm noticing its default style is set to: display:none;)

Live URL is posted above.  
Thanks
econaut

Re: html content does not load

Reply Threaded More More options
Print post
Permalink
In posts dating back there is advice requiring the "iframe" player.  

Again, I'm learning too and just offering info gleaned from days of reading posts.

Marc

Re: html content does not load

Reply Threaded More More options
Print post
Permalink
Thanks, I'll check it out.  
Marc

Re: html content does not load

Reply Threaded More More options
Print post
Permalink
Got it....   needed to use the "iframe" player instead of the "html" player.
econaut

Re: html content does not load

Reply Threaded More More options
Print post
Permalink
I'm jealous.
Jason

Re: html content does not load

Reply Threaded More More options
Print post
Permalink
In reply to this post by Marc
Was having the same issue... changing "html" to "iframe" did indeed do the trick!  Thanks for the information.
Amanda

Re: html content does not load

Reply Threaded More More options
Print post
Permalink
I am having the issue of the background graying out and the content box not appearing. I read through these forum posts, and still no luck.

Here is my code in the header (with correct paths):

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

And here is my code in the content:

<a rel="shadowbox;width=400;height=240" href="popup.html">(image here)</a>

Any advice?