src/aria/core/transport/IFrame.js
function (request) {
            var iFrame;
            var browser = ariaCoreBrowser;
            var document = Aria.$frameworkWindow.document;

            // Issue when using document.createElement("iframe") in IE7
            if (browser.isIE7) {
                var container = document.createElement("div");
                container.innerHTML = ['<iframe style="display:none" src="',
                        ariaCoreDownloadMgr.resolveURL("aria/core/transport/iframeSource.txt"), '" id="xIFrame',
                        request.id, '" name="xIFrame', request.id, '"></iframe>'].join('');
                document.body.appendChild(container);
                iFrame = document.getElementById("xIFrame" + request.id);
                request.iFrameContainer = container;
            } else {
                iFrame = document.createElement("iframe");
                iFrame.src = ariaCoreDownloadMgr.resolveURL("aria/core/transport/iframeSource.txt");
                iFrame.id = iFrame.name = "xIFrame" + request.id;
                iFrame.style.cssText = "display:none";
                document.body.appendChild(iFrame);
            }
            request.iFrame = iFrame;

            // Event handlers
            iFrame.onload = iFrame.onreadystatechange = this._iFrameReady;
        }
function (request) {
            var iFrame;
            var browser = ariaCoreBrowser;
            var document = Aria.$frameworkWindow.document;

            // Issue when using document.createElement("iframe") in IE7
            if (browser.isIE7) {
                var container = document.createElement("div");
                container.innerHTML = ['<iframe style="display:none" src="',
                        ariaCoreDownloadMgr.resolveURL("aria/core/transport/iframeSource.txt"), '" id="xIFrame',
                        request.id, '" name="xIFrame', request.id, '"></iframe>'].join('');
                document.body.appendChild(container);
                iFrame = document.getElementById("xIFrame" + request.id);
                request.iFrameContainer = container;
            } else {
                iFrame = document.createElement("iframe");
                iFrame.src = ariaCoreDownloadMgr.resolveURL("aria/core/transport/iframeSource.txt");
                iFrame.id = iFrame.name = "xIFrame" + request.id;
                iFrame.style.cssText = "display:none";
                document.body.appendChild(iFrame);
            }
            request.iFrame = iFrame;

            // Event handlers
            iFrame.onload = iFrame.onreadystatechange = this._iFrameReady;
        }
function ( request ) { var iFrame ; var browser = ariaCoreBrowser ; var document = Aria . $frameworkWindow . document ; // Issue when using document.createElement("iframe") in IE7 if ( browser . isIE7 ) { var container = document . createElement ( "div" ) ; container . innerHTML = [ '<iframe style="display:none" src="' , ariaCoreDownloadMgr . resolveURL ( "aria/core/transport/iframeSource.txt" ) , '" id="xIFrame' , request . id , '" name="xIFrame' , request . id , '"></iframe>' ] . join ( '' ) ; document . body . appendChild ( container ) ; iFrame = document . getElementById ( "xIFrame" + request . id ) ; request . iFrameContainer = container ; } else { iFrame = document . createElement ( "iframe" ) ; iFrame . src = ariaCoreDownloadMgr . resolveURL ( "aria/core/transport/iframeSource.txt" ) ; iFrame . id = iFrame . name = "xIFrame" + request . id ; iFrame . style . cssText = "display:none" ; document . body . appendChild ( iFrame ) ; } request . iFrame = iFrame ; // Event handlers iFrame . onload = iFrame . onreadystatechange = this . _iFrameReady ; }
Creates an iFrame to load the response of the request.
@param {aria.core.CfgBeans:IOAsyncRequestCfg} request
@protected
Creates an iFrame to load the response of the request .