Commit 8ad43a576eba0c4e5165d39845558f7a8a019a6a

Authored by Nikita Kulshreshtha
1 parent 854adcec

updated iframeresizer page.

400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html
1   -
2 1 <html>
3 2 <head>
4 3 <title></title>
... ... @@ -52,6 +51,23 @@
52 51 else
53 52 return results[1];
54 53 }
  54 +
  55 + function resizeIframe(dHeight) {
  56 + var iframe = document.getElementById('externalLink');
  57 + if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) {
  58 + var ieversion = new Number(RegExp.$1)
  59 + if (ieversion == 8 || ieversion == 7) {
  60 + iframe.height = parseInt(dHeight) + 250;
  61 + }
  62 + else {
  63 + iframe.height = dHeight;
  64 + }
  65 + }
  66 + else {
  67 + iframe.height = dHeight;
  68 + }
  69 + }
  70 +
55 71 </script>
56 72 </body>
57   -</html>
58 73 \ No newline at end of file
  74 +</html>
... ...