I'm running into a bit of snag with getting the floatbox to open to the size of the html content being displayed within the iframe floatbox spawns.
The iframe content is running on our site (same domain). I've explicitly set the width to 600px and height to 600px for the body tag of the content the floatbox is opening within the iframe (/campaign/content.aspx) and I'm passing the following options:
showClose:false showOuterClose:true shadowType:'halo' showNewWindow:false centerOnResize:true resizeDuration:3 overlayFadeDuration:2 overlayOpacity:65 outsideClickCloses:false
var fbo = showClose:false showOuterClose:true shadowType:'halo' showNewWindow:false centerOnResize:true resizeDuration:3 overlayFadeDuration:2 overlayOpacity:65 outsideClickCloses:false
fb.start("/campaign/content.aspx", fbo);
I assumed that since I'm not specifying the width and height of the floatbox within the options that floatbox would sniff the width and height of the body tag being opened within the iframe and adjust its size accordingly but that's not the case, the floatbox is opening up to fill almost the entire parent view port.
Any suggestions as to what I'm doing wrong?
best regards,
rise4peace