Chrome is not loading img src when set in javascript?

Maybe you may try to prefetch the image via ajax as explained in this : 4thkingdom.com/public/computers/789073-w....

Nice thought, but I didn't mention that the application is html, there is no server side, so I can't use Ajax. The link you gave also suggested var im = new Image(); im. Src = 'URL_OF_IMAGE';; which I have already tried, and doesn't seem to make a difference.

– russell Feb 25 at 16:52.

Cache is apparently being cleared out. Network tab shows chrome thinks it is loading the image from cache, when I tried clearing cache everything worked. Possibly this is a bug, where cache is being cleaned out but the index is not updated?

Thanks for the suggestions.

It is a reported bug in chrome, linkcode.google. Com/p/chromium/issues/detail? Id=20960 – russell Feb 26 at 15:14.

I solved a similar problem arising from a reuse of Horizontal image scrolling -to see page wait for 20 second so timer go down- btinternet.com/~st_rise/main/mainfram.ht... with a trick from ozzu.com/programming-forum/javascript-sl... In my loop of loading image I call this function that simulate sleep. Function pause( iMilliseconds ) { var sDialogScript = 'window. SetTimeout( function () { window.close(); }, ' + iMilliseconds + ');'; window.

ShowModalDialog('javascript:document. Writeln ("' + sDialogScript + '")'); } You can see result in my site elenco alloggi: http://www.unitaria.it/interventi_u.html For me solved chrome laziness ... Hope help other Gianni.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions