The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

More weird stuff happening with Thickbox

Hello, I am using thickbox to open up different flash videos in an iFrame on a page.

These videos are called by another video inside the root page which then loads the corresponding flash swf into the thickbox iframe.

I have been having a lot of grief with this pluggin the first being that for some reason using it it with swfobject in the iframe seems to disable the javascript functionality from the close and open next iframe buttons in the iframe in Firefox and IE7 (but bizarrely not in IE6).

Secondly the call to the Iframe or script doesn't appear to work at all in Opera, but that I will leave it for now because Opera is not one of our high priority browsers.

But the weirdest issue that I am having happens in Firefox. basically, when you call the tb_open function from the button in the caller flash file:

Ok having spent hours doing our heads in with this thickbox issue, we have found out that it is this overlay thing that hides the flash. We changed it's position to absolute instead of fixed in the thickbox.css and that appears to have solved the problem.

Thank you for sharing your resolution to this problem. Having spent far too many hours making my website cross-browser compatible and learning about every single IE bug there is, I wasn't looking forward to spending several more hours sorting out this exact same issue. Thankfully I found your post and was able to fix the issue in record time.

It's worth noting that changing the position to absolute caused the overlay to only fill half my screen, but changing height:100%; to height:1500px seems to have sorted that out.

Hey no worries Carducci, I often end up with having to resolve my own issues that I post because of panic deadlines but I still post on the off chance someone would contribute or at least benefit from it. In fact I wish I had more time to assist as in the past few months i've only been posting questions rather than answers.

Have you worked with http://mjijackson.com/shadowbox/ Shadowbox by any chance? A friend of mine is telling me that it is a much better option than thickbox. I have not worked with it yet, but seen his results and they look good. The thing is I have yet to see it working smoothly with sIFR and flash.