I want to use ajax loader when loading a page with a transparent background. I tried the following code that displays the boot image, but how to cover the whole backgroung like transperent. My code is:
<div class="UpdateProgress1">
<asp:UpdateProgress ID="UpdateProgress1" runat="server" DynamicLayout="true">
<ProgressTemplate>
<img src="image/ajax-loader.gif" /> Loading ...
</ProgressTemplate>
</asp:UpdateProgress>
</div>
And my css:
.UpdateProgress1 {
color:#fff;
position:fixed;
filter:alpha(opacity=50);
-moz-opacity:0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
vertical-align: middle;
text-align: center;
background-color: #000;
float: left;
top:18%;
left:13%;
width:73%;
}
If anyone knows any link or solution, please tell me. and in the css above, if I add the height property, the image will be displayed at page load time without a click event. thank.
source
share