diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html b/400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html index b07dbd2..6f654af 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html @@ -1,4 +1,3 @@ - @@ -52,6 +51,23 @@ else return results[1]; } + + function resizeIframe(dHeight) { + var iframe = document.getElementById('externalLink'); + if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) { + var ieversion = new Number(RegExp.$1) + if (ieversion == 8 || ieversion == 7) { + iframe.height = parseInt(dHeight) + 250; + } + else { + iframe.height = dHeight; + } + } + else { + iframe.height = dHeight; + } + } + - \ No newline at end of file +