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

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

@deslava

Description

@deslava

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+"
";" +
"}" +
"}" +
"}";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions