CoreFiles by mySites.guru
iframe-height.js14 lines, 426 bytes, from Joomla_3.10.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha6
md5
a9a8f7dca1c0d095f05be13cd594feeb
sha1
ac2a7d34cb7c381e6c0188358e347285fc7fd617
sha256
e67381170a4a5213ff0a413f70df0f60b5d0444408815300a7fbb082cfd4c478
function iFrameHeight(iframe)
{
    var doc    = 'contentDocument' in iframe ? iframe.contentDocument : iframe.contentWindow.document;
    var height = parseInt(doc.body.scrollHeight);

    if (!document.all)
    {
        iframe.style.height = parseInt(height) + 60 + 'px';
    }
    else if (document.all && iframe.id)
    {
        document.all[iframe.id].style.height = parseInt(height) + 20 + 'px';
    }
}

The same content is in 8 releases, Joomla 3.10.0-alpha4 to 3.10.0-rc2. See them all, or every version of this file.