IE8 not displaying images (red x) … sometimes

前端 未结 5 993
自闭症患者
自闭症患者 2021-02-19 21:43

I\'m going mad with the following problem which does not happen on any other browser (Chrome, Firefox):

  • IE8 cache is cleared
  • browser starts opens HTML/Jav
5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-19 22:11

    It sounds like an issue with your server. A few things to try, to narrow down the problem:

    See if it works statically. That is make a flat html page that includes these images. Do they show up?

    Try changing it so that your timer executes a single function that does a loop, rather than calling the timer in a loop.

    Have it do a document.write (at page load, without any timers), simply writing the html for the elements (along with the urls so you can see what it is doing)

    Have it do it, rather than with a timer, in response to clicking a button on the page. Have it do one image at a time.

    I think if you try all these things, you'll likely arrive at the problem, but if not, report back what happens.

提交回复
热议问题