Hello
I want to use an ajax loader while loading the page with transparent background. I tried the following code which displays the loading image but how to cover whole backgroung as 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 is:
.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 any solution please tell me. and in the above css if i add the height property the image get displayed at the page load time without click event. thank you.