I failed to mention the problem was in Firefox 2

After searching here I see this has been a problem for others trying
to use plugins in iframes loaded via thickbox. One post mentioned a
bug in FF if the iframe was hidden when the content was loaded.

The fix is to modify thickbox to display the iframe immediately. At
about line 229 I modified the safari browser case to include mozilla.

Line:

  if($.browser.safari){//safari needs help because it will not fire
iframe onload

becomes:

  if($.browser.safari || $.browser.mozilla){//safari needs help
because it will not fire iframe onload



On Dec 27, 6:58 pm, Ken Gregg <[EMAIL PROTECTED]> wrote:
> I created a flot chart page that I am trying to load into thickbox
> using an iframe.
>
> When the chart page loads into the iframe it errors out in jquery with
> the message:
>
> document.defaultView.getComputedStyle(elem, null) has no properties
>
> The page is here:http://dev.rwre.com/test/test.html
>
> After the page is loaded into the iframe, going to the next month
> works fine also. Is there some timing issue with document.ready in
> iframes?

Reply via email to