Javascript 在FireFox中加载图像,但不在IE9中加载
我面临图像加载问题。它在FireFox上正确加载,但在IE9中加载失败。它基本上是展开树块时的进度状态图像。 请帮助我们解决这个问题Javascript 在FireFox中加载图像,但不在IE9中加载,javascript,image,firefox,tree,internet-explorer-9,Javascript,Image,Firefox,Tree,Internet Explorer 9,我面临图像加载问题。它在FireFox上正确加载,但在IE9中加载失败。它基本上是展开树块时的进度状态图像。 请帮助我们解决这个问题 一整段内联CSS?!F12开发工具说明了什么?你能添加一个JSFIDLE吗?F12开发工具中没有消息。整个页面加载良好,但奇怪的是,在中展开plus.gif时不会加载“指示器”图像IE9@Christian:您建议我如何添加它以及在哪里添加?jsfiddle.net-->添加您的问题示例,最后在您的帖子中添加链接。 <div id='progressdiv
一整段内联CSS?!F12开发工具说明了什么?你能添加一个JSFIDLE吗?F12开发工具中没有消息。整个页面加载良好,但奇怪的是,在中展开plus.gif时不会加载“指示器”图像IE9@Christian:您建议我如何添加它以及在哪里添加?jsfiddle.net-->添加您的问题示例,最后在您的帖子中添加链接。
<div id='progressdiv' style='background: none repeat scroll 0 0 #FFFFFF;
border: 1px solid #CAD7D9;
box-shadow: 5px 5px 25px #CCCCCC;
display: none;
left: 50%;
padding: 5px;
position: absolute;
top: 50%;
z-index: 2000;'>
<img border="0" src="img/magnifyingGlass_0.gif" />
</div>
<table border="0" cellpadding="0" cellspacing="1" width="670">
<tr class=fixedHeader>
<th height="<%=Constants.LIST_HEADER_HEIGHT - 2%>" width="15"
class="recordHeader" align="center"><img border="0"
style="cursor: pointer;" name="userimgAll" openall='false'
onclick="openAllTreeBlocks(this, 'user')" src="img/plus.gif"
height="9" /></th>
</th></tr>
</table>
function openAllTreeBlocks(image_, subname){
$('#progressdiv').show();
....//lines of code
$('#progressdiv').hide();
}