Home  >  Article  >  Web Front-end  >  Solution to the super strong IE background image flickering (jittering)_javascript skills

Solution to the super strong IE background image flickering (jittering)_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:09:101483browse

Many people have encountered the bug that the IE background image is reloaded during partial operation of the page, causing the page to flicker. So how to solve it?

I saw a solution on a foreign blog:
Just add the following script:
document.execCommand("BackgroundImageCache", false, true)
Very simple, right? But it’s strange why this is not the default option of IE browser? If anyone knows the reason, please let me know. I would be very grateful!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn