Can Shadowbox detect swf dimensions?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Can Shadowbox detect swf dimensions?

mmc501
Can shadow box automatically detect swf dimensions without specifying them in the rel tag.
I have a few swf files being loaded from a database, but the height and width of the swf file are not appearing correct.  
Reply | Threaded
Open this post in threaded view
|

Re: Can Shadowbox detect swf dimensions?

mjijackson
Administrator
No. You must explicitly tell the script how wide/tall your SWF is using the height and width options. However, if you know of a way to detect the dimensions of a SWF from JavaScript, I'm all ears.