Code Snippet Submit one! Home » Code Snippets » JavaScript » Prevent Background Image Flickering in IEPrevent Background Image Flickering in IEtry { document.execCommand("BackgroundImageCache", false, true); } catch(err) {}
i really like this blog, keep making!!
Silly question perhaps, but how do you use/implement this?
Example?
I believe you just put it in your head, like this:
try {
document.execCommand(“BackgroundImageCache”, false, true);
} catch(err) {}
[script type="javascript"]
try {
document.execCommand(“BackgroundImageCache”, false, true);
} catch(err) {}
[/script]
Sub in the real brackets in the code
graet
hi,
i used the above code . but still i am facing image flickering. i have to place the names of the images in the place of BackgroundImageCache. please help me
DigWP
A book and blog co-authored by Jeff Starr and myself about the World's most popular publishing platform.
Quotes on Design
Design, like Art, can be an elusive word to define and an awfully fun thing to have opinions about.
HTML-Ipsum
One-click copy to clipboard access to Lorem Ipsum text that comes wrapped in a variety of HTML.
Bookshelf
Hey Chris, what books do you recommend? These, young fertile mind, these.