 |
 |
Setting innerHTML with images in Internet Explorer causes them to load one at a time
[reply]
|
07/02/07 09:36 PM EST posted by JER email web |
|
On one of my sites, I've written code that reloads entire segments of my page via AJAX requests, setting the "innerHTML" property of a div container to the returned HTML block. Due to my extremely slow server, I've noticed that any images in this HTML block load one at a time. Since I return about a hundred very small images, the result is hideous to watch.
Judging by some posts I've found around the 'net, this setting is related to my having the "check for new versions every visit to the page" cache option set in IE.
What strikes me as odd is that I'm not actually using IMG tags in that code block, just DIVS with background images set via a CSS class. Since all DIVs are using the same class, it's the same image file used in all of them. I assumed that this approach would work well with all users' cache settings -- it would load the image once (on the "visit to the page"), then reuse it multiple times for the other elements.
A shiny new donkey to anyone who can help me solve this problem!!!!
For more detail, see here. |
|
|
|
SOLVED!!!
The IE6 flicker / incremental load is no more!!!
try { document.execCommand("BackgroundImageCache", false, true); } catch(err) {}
http://mister-pixel.com/index.php?Content__state=is_that_simple |
|
|
|
You can choose different designs of Celine handbags hand according to different occasions Different designs of Chloe handbags old can match your different attires
They utter discount designer bags does not matter if you don't purchase new dress
With the soaring up popularity of Dior handbags pocketbooks, further and galore people go for them for their eye dazzling colors, superior designs, high quality, etc
At this environment, many replica Marc Jacob handbags are created
Here are some tips you should consider when handling your Celine bags hands? Do NOT place them in spots where they are exposed to direct sunlight for too long
Here are some tips you should consider when handling your designer handbags purses hands? Do NOT place them in spots where they are exposed to direct sunlight for too long
cheap Mulberry and presentable is an exigence for every woman with Fake Louis vuitton Hands at any time
Safeguard your designer handbags hands by using a leather protector to prevent stains
|
|
|
|
You are to take selection as that L Giverchy Givenchy cheap, in addition, composition, the collection in retail
In wholesale Thomas Wylde cheap offer package
Louis Vuitton wallets cheap your chance to Hermes Handbags, and this Louis Vuitton Handbags are quite charming and you can enjoy it at a wholesale discount! Meanwhile, this price for Gucci Wallet cheap is definitely more than reasonable, it is such a deal to have some on our website
Gucci Belts cheap, Gucci contollato card, dust bag and gift bag
The Hermes Wallets cheapcan give you a rich and elegant look of a celebrity, and just look at this Chloe Soft Leather Shoulder Bag, it is so feminine that can show your charm easily
Such Hermes belts cheap offer you a remarkable style quotient with a never ending smile on your face
You can Louis Vuitton belts cheap at our store, and more Prada Wallet cheap which have the best quality but the lowest price are waiting for you to pick up at our online store
|
|
Note: Only registered ShinyDonkey.com users
can post images. Only administrators can delete images.
|
 |
 |