Skip to content
This repository has been archived by the owner on Mar 23, 2019. It is now read-only.

IFrame improper IE 10 height or width 100% - Fix #134

Open
deslava opened this issue Mar 2, 2013 · 0 comments
Open

IFrame improper IE 10 height or width 100% - Fix #134

deslava opened this issue Mar 2, 2013 · 0 comments

Comments

@deslava
Copy link

deslava commented Mar 2, 2013

There is an issue with IE when the width or height of an iframe is 100% the only fix is to add a style to the

created in the IFrameExternalCalls.as this occurs in google maps when you load the iframe as a .content. if you place a px hight or width the style doesn't effect the display, the display issue occurs only when it is at a specified percentage.

You have to modify the loadDIV function with the following to get it to work properly:

public static var INSERT_FUNCTION_LOADDIV_CONTENT:String =
"document.insertScript = function ()" +
"{ " +
"if (document." + FUNCTION_LOADDIV_CONTENT + "==null)" +
"{" +
FUNCTION_LOADDIV_CONTENT + " = function (frameID, iframeID, content)" +
"{" +
"document.getElementById(frameID).innerHTML = "

"+content+"
";" +
"}" +
"}" +
"}";

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant