ajax.action リンクをクリックすると、ページの中央に読み込み中の画像を背景の不透明度で表示したい。
<img id="image_loading" alt="" src="../../images/site/loading.gif" style="position: fixed;
display: none;" />
これが私のコードです
<nav class="ust_menu">
<ul>
<li>@Ajax.ActionLink("Home", "Index", "Home", new AjaxOptions { UpdateTargetId = "article_site", LoadingElementId = "image_loading" })</li>
<li>@Ajax.ActionLink("Contact Us", "Contact", "Home", new AjaxOptions { UpdateTargetId = "article_site", LoadingElementId = "image_loading" })</li>
<li>@Ajax.ActionLink("About", "About", "Home", new AjaxOptions { UpdateTargetId = "article_site", LoadingElementId = "image_loading" })</li>
</ul>
</nav>
希望する位置ではなく、背景の不透明度なしで画像を表示できます。背景が不透明なページの真ん中に読み込み中の画像を表示するにはどうすればよいですか。
ありがとう。