Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net IE中未设置动画的图像是否适用于其他浏览器?_Asp.net - Fatal编程技术网

Asp.net IE中未设置动画的图像是否适用于其他浏览器?

Asp.net IE中未设置动画的图像是否适用于其他浏览器?,asp.net,Asp.net,在ASPX页面中,我们有下面的代码,一切正常,但动画gif“arrows64.gif”在IE浏览器中没有动画,它看起来像冻结,需要知道解决方法吗 在页面加载中,我调用了耗时的数据库调用,同时我想显示这个繁忙的图像,但在IE中它是冻结的 <div id="divLoading" runat="server" style="text-align: center"> <div style="z-index: 1000; border: medium none; margin:

在ASPX页面中,我们有下面的代码,一切正常,但动画gif“arrows64.gif”在IE浏览器中没有动画,它看起来像冻结,需要知道解决方法吗

在页面加载中,我调用了耗时的数据库调用,同时我想显示这个繁忙的图像,但在IE中它是冻结的

<div id="divLoading" runat="server" style="text-align: center">
    <div style="z-index: 1000; border: medium none; margin: 0pt; padding: 0pt; width: 100%;
        height: 100%; top: 0pt; left: 0pt; background-color: rgb(0, 0, 0); opacity: 0.6;
        cursor: wait; position: fixed;">
    </div>
    <div style="z-index: 1001; position: fixed; padding: 0px; margin: 0px; width: 30%;
        top: 40%; left: 35%; text-align: center; color: rgb(0, 0, 0); border: 3px solid rgb(170, 170, 170);
        background-color: rgb(255, 255, 255); cursor: wait;">
        <img src="Images/arrows64.gif" width="64" height="64" alt="Loading..." />
        <h1>
            Please wait...</h1>

    </div>
</div>

请稍候。。。

这可能是需要翻转的IE设置,或者只是缺少对动画GIF的支持(取决于版本)。我不会因为这个而失眠,只是用一个不同的图像明确地说有东西正在加载。。。这样,即使它不移动,用户也可以看到它正在发生

如果这是一个需要翻转的设置,你的用户会很恼火,因为他们知道他们需要更改IE配置才能让你的网站正常运行

如果您必须使用此动画GIF,则可能需要解决此问题