I did a test run of Shadowbox on a site pulling content into an iFrame and settings it's width and height in JS but while the content comes in just fine the width and height are ignored.
My rel attribute is
shadowbox;width=500;height=400
and my Shadowbox.init call has the option
players: ["iframe"]
.
I tried setting the player as HTML but it just went to the link instead of injecting the HTML as AJAX, which is what I thought it might do.
What am I doing wrong? I'm not using any javascript libraries on this page. I have the latest version of Shadowbox just downloaded this morning. The doctype is HTML 4.01—which is the one thing I suspect—and the browser is Firefox 3.0.13.
Sorry, I can't post a link.