public/javascripts/yui/container/container.js
function () {

            var oIFrame = this.iframe,
                oElement = this.element,
                nOffset = Overlay.IFRAME_OFFSET,
                nDimensionOffset = (nOffset * 2),
                aXY;

            if (oIFrame) {
                // Size <iframe>
                oIFrame.style.width = (oElement.offsetWidth + nDimensionOffset + "px");
                oIFrame.style.height = (oElement.offsetHeight + nDimensionOffset + "px");

                // Position <iframe>
                aXY = this.cfg.getProperty("xy");

                if (!Lang.isArray(aXY) || (isNaN(aXY[0]) || isNaN(aXY[1]))) {
                    this.syncPosition();
                    aXY = this.cfg.getProperty("xy");
                }
                Dom.setXY(oIFrame, [(aXY[0] - nOffset), (aXY[1] - nOffset)]);
            }
        }
function () {

            var oIFrame = this.iframe,
                oElement = this.element,
                nOffset = Overlay.IFRAME_OFFSET,
                nDimensionOffset = (nOffset * 2),
                aXY;

            if (oIFrame) {
                // Size <iframe>
                oIFrame.style.width = (oElement.offsetWidth + nDimensionOffset + "px");
                oIFrame.style.height = (oElement.offsetHeight + nDimensionOffset + "px");

                // Position <iframe>
                aXY = this.cfg.getProperty("xy");

                if (!Lang.isArray(aXY) || (isNaN(aXY[0]) || isNaN(aXY[1]))) {
                    this.syncPosition();
                    aXY = this.cfg.getProperty("xy");
                }
                Dom.setXY(oIFrame, [(aXY[0] - nOffset), (aXY[1] - nOffset)]);
            }
        }
function ( ) { var oIFrame = this . iframe , oElement = this . element , nOffset = Overlay . IFRAME_OFFSET , nDimensionOffset = ( nOffset * 2 ) , aXY ; if ( oIFrame ) { // Size <iframe> oIFrame . style . width = ( oElement . offsetWidth + nDimensionOffset + "px" ) ; oIFrame . style . height = ( oElement . offsetHeight + nDimensionOffset + "px" ) ; // Position <iframe> aXY = this . cfg . getProperty ( "xy" ) ; if ( ! Lang . isArray ( aXY ) || ( isNaN ( aXY [ 0 ] ) || isNaN ( aXY [ 1 ] ) ) ) { this . syncPosition ( ) ; aXY = this . cfg . getProperty ( "xy" ) ; } Dom . setXY ( oIFrame , [ ( aXY [ 0 ] - nOffset ) , ( aXY [ 1 ] - nOffset ) ] ) ; } }
Syncronizes the size and position of iframe shim to that of its
corresponding Overlay instance.
@method syncIframe
Syncronizes the size and position of iframe shim to that of its corresponding Overlay instance .