这是用于在触发按钮点击时显示微调器的javascript
function Loading() {
$('#dvLoading').fadeIn(10);
$('#dvLoading').fadeOut(5000);
var url = '@Url.Action("ActionMethod", "Home")'
$("#Load").load(url);
}
这是有gif图像的CSS ..
<style type="text/css">
#dvLoading {
background: url('../../Content/img/loading.gif') no-repeat;
height: 250px;
width: 250px;
position: fixed;
z-index: 1000;
left: 50%;
top: 50%;
margin: -25px 0 0 -25px;
}
</style>