IE7 Error

IE7 Error

I don't know if anyone is aware of this or has tried it, but I have ran into a bug. In IE7 (IE7 Browser Mode and IE7 standards Document Mode for those IE9'ers), if you have the HTML property set of the ManagedIframe panel you will get an error on the page, and the panel will take over the entire screen.

This isn't too big of a deal, because you can work around this by simply creating an HTML page to load into the IFRAME w/ whatever text you want in there.

I was just afraid that I would had to scrap the plugin because it wasn't working with IE7 until I figured out what caused the issue. So I figure I would let everyone know here of a slight bug and the workaround so people are more willing to use this if they encounter the same issue I did.

PROBLEM: When setting the HTML on the ManagedIframe panel, the HTML will take over the entire screen. This only happens in the IE7 and possibly IE8 browser. This is not a problem with Firefox, Chrome, or IE9.

SOLUTION: Use your own HTML page and load the IFRAME with your HTML page instead of specifying HTML to the ManagedIframe panel.

I probably should not have set HTML in the first place, but it threw me off when it worked with FF, Chrome and IE9.

I hope this can help someone out so they do not spend too much time here trying to figure out what is going on for this situation.

Also, I love the plugin and it works great. It properly sizes and loads. It's easy to plug into Ext. My favorite thing about it is the loading as the page inside loads.

I've been having the same issues. It's hard to use this plugin, and I've been finding I have to create custom fixes per page. It's weird, I'm getting issues in which my javascript code is not running in the parent window but inside a frames or something.

This only happens in IE for me also. I started putting parent.(whatever) in front of my javascript calls through a bit of trial and error and am able to fix some of the issues. I also defer the script.

What I think your error is, is that Ext.isDocument is getting called probably through some other function but when Ext.isDocument is evaluated it is getting evaluated inside a frame that doesn't know about the Ext framework. I can't verify this, but sometimes I get odd things happening that is similiar to what you two are seeing.

Now.. I am trying to call the javascript within the iframe. How do I access it ?
I have tried
MyMIF.getContentTarget().getDoc() to access Document of the iframe document.
but getting Ext.isDocument is not a function error showing up