javascript - How to refresh page with image showing when refreshing.. This doesn't work in IE :( -
i have tried below in firefox , works, doesn't in ie 7 , 8 -- page refreshes don't see image when refreshing in ie. in advance.
javascript:
window.onload = show; function show() { document.getelementbyid("img444").style.display="none"; settimeout("hide()", 5000); // 5 seconds } function hide() { document.getelementbyid("img444").style.display="block"; window.location.reload(false); }
html:
<img id="img444" src="images/indicator.gif" style="display: none;"/>
well changed code per @gov's comment , work on ie7 , firefox.
so should work you
Comments
Post a Comment