hi
I use below code for showing Modal when page is running.
now I want when page is loading completely this modal will disappear.
<script type="text/javascript">
window.onload = $(function settime() {
$('#myModal1').modal('show');
});
</script>
<style type="text/css">
.behtopM {
position: fixed;
top: 50%;
left: 50%;
/* bring your own prefixes */
transform: translate(-50%, -50%);
}
#imagebeh {
width: 100px;
height: 100px;
border: 1px solid red;
}
</style>
</head>
<div>
<div class="d-sm-inline-flex">
<div class="row">
<div class="modal fade" id="myModal1">
<div id="Modal1">
<asp:Image ID="Image1" runat="server" CssClass="behtopM" ImageUrl="~/Image/behtop/behtop-main.gif"></asp:Image>
</div>
</div>
</div>
</div>
</div>
How I can do it?
Best regards
Neda