This commit is contained in:
ja
2021-09-29 16:53:32 +02:00
parent 643128aa23
commit 9c5c9c361e
4 changed files with 29 additions and 6 deletions

View File

@@ -550,10 +550,12 @@
</a> -->
<asp:LoginView ID="LoginView1" runat="server" ClientIDMode="AutoID">
<AnonymousTemplate>
<iframe name="frame1" sandbox="allow-same-origin allow-top-navigation allow-scripts allow-popups allow-forms" src="/login/login_FLEX.aspx" runat="server" seamless="seamless" style="width:300px;height:300px;overflow:no-content;background-image:none;" scrolling="no" />
<iframe name="frame1" sandbox="allow-same-origin allow-top-navigation allow-scripts allow-popups allow-forms" src="/login/login_FLEX.aspx" runat="server" seamless="seamless" style="width:300px;height:300px;overflow:no-content;background-image:none;" scrolling="no" />
<div id="loadingMessage1">Loading...</div>
</AnonymousTemplate>
<LoggedInTemplate>
<iframe name="frame2" sandbox="allow-same-origin allow-top-navigation allow-scripts allow-popups allow-forms" src="/login/Loggedin.aspx" runat="server" seamless="seamless" style="width:300px;height:300px;overflow:no-content;background-image:none;" scrolling="no" />
<iframe name="frame2" sandbox="allow-same-origin allow-top-navigation allow-scripts allow-popups allow-forms" onload="Unnamed_Load" src="/login/Loggedin.aspx" runat="server" seamless="seamless" style="width:300px;height:300px;overflow:no-content;background-image:none;" scrolling="no" />
<div id="loadingMessage2">Loading...</div>
</LoggedInTemplate>
</asp:LoginView>
<div style="height:10px"></div>
@@ -617,6 +619,22 @@
//topup
}
}
</script>
</script>
<script type="text/javascript">
$('#frame1').ready(function () {
$('#loadingMessage1').css('display', 'none');
});
$('#frame1').load(function () {
$('#loadingMessage1').css('display', 'none');
});
</script>
<script type="text/javascript">
$('#frame2').ready(function () {
$('#loadingMessage2').css('display', 'none');
});
$('#frame2').load(function () {
$('#loadingMessage2').css('display', 'none');
});
</script>
</body>
</html>