Commit 8ad43a576eba0c4e5165d39845558f7a8a019a6a

Authored by Nikita Kulshreshtha
1 parent 854adcec

updated iframeresizer page.

400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html
1 -  
2 <html> 1 <html>
3 <head> 2 <head>
4 <title></title> 3 <title></title>
@@ -52,6 +51,23 @@ @@ -52,6 +51,23 @@
52 else 51 else
53 return results[1]; 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 </script> 71 </script>
56 </body> 72 </body>
57 -</html>  
58 \ No newline at end of file 73 \ No newline at end of file
  74 +</html>