Commit fa027aa3d7aa3a1c21a164b232dec4b0e00c5c68
1 parent
87d22751
one page is deployed to handle the double scroll bar issue in external link and …
…also domain name update
Showing
2 changed files
with
58 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.API/Web.config
... | ... | @@ -37,7 +37,7 @@ |
37 | 37 | <add key="SMTPAddress" value="10.100.12.13" /> |
38 | 38 | <add key="SMTPPort" value="25" /> |
39 | 39 | <add key="EnableSSL" value="false" /> |
40 | - <add key="Site_Url" value ="//52.2.38.120"/> | |
40 | + <add key="Site_Url" value ="http://34.207.39.107/"/> | |
41 | 41 | <add key ="HostAddress" value="10.100.12.13" /> |
42 | 42 | <add key="isUserAuthenticated" value="true"/> |
43 | 43 | <add key="AdminSupport" value="amrita.vishnoi@ebix.com,nikita.kulshreshtha@ebix.com"/> | ... | ... |
400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html
0 → 100644
1 | + | |
2 | +<html> | |
3 | +<head> | |
4 | +<title></title> | |
5 | +</head> | |
6 | + <body onload="parentIframeResize();" > | |
7 | + <script type="text/javascript"> | |
8 | + // Tell the parent iframe what height the iframe needs to be | |
9 | + function parentIframeResize() { | |
10 | + var height = getParam('h'); | |
11 | + //checking for broweser IE7/8/9,FF | |
12 | + if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) { //test for MSIE x.x; | |
13 | + var ieversion = new Number(RegExp.$1) // capture x.x portion and store as a number | |
14 | + if (ieversion == 9) { | |
15 | + if (!parent.parent.name) | |
16 | + parent.parent.resizeIframe(height); | |
17 | + else | |
18 | + parent.resizeIframe(height); | |
19 | + } | |
20 | + else { | |
21 | + if (!parent.parent.parent.id) { | |
22 | + if (parent.parent.resizeIframe!=undefined) | |
23 | + parent.parent.parent.resizeIframe(height); | |
24 | + | |
25 | + } | |
26 | + else if (!parent.parent.id) { | |
27 | + parent.parent.resizeIframe(height); | |
28 | + } | |
29 | + else | |
30 | + parent.resizeIframe(height); | |
31 | + } | |
32 | + } | |
33 | + else { | |
34 | + if (!parent.parent.name) | |
35 | + { | |
36 | + if (parent.parent.resizeIframe!=undefined) | |
37 | + parent.parent.resizeIframe(height); | |
38 | + } | |
39 | + else | |
40 | + parent.resizeIframe(height); | |
41 | + } | |
42 | + } | |
43 | + | |
44 | + // Helper function, parse param from request string | |
45 | + function getParam(name) { | |
46 | + name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); | |
47 | + var regexS = "[\\?&]" + name + "=([^&#]*)"; | |
48 | + var regex = new RegExp(regexS); | |
49 | + var results = regex.exec(window.location.href); | |
50 | + if (results == null) | |
51 | + return ""; | |
52 | + else | |
53 | + return results[1]; | |
54 | + } | |
55 | + </script> | |
56 | + </body> | |
57 | +</html> | |
0 | 58 | \ No newline at end of file | ... | ... |