IE6: Background-Image Load Event

前端 未结 4 1192
独厮守ぢ
独厮守ぢ 2021-02-12 21:26

I am displaying a bunch of thumbnail images and the latency can be very high (over a VPN) so I send all the thumbnails in a single file (like a sprite) and set the CSS backgroun

4条回答
  •  星月不相逢
    2021-02-12 21:52

    If you are using your code above for IE6 only and problem only reflects in IE6, then I guess your issue is the jquery... check the following:

    $('.Thumbnails').css('background-image', 'url(ThumbSpriteTest.png)');
    

    You have to add the 'url(img_src)'.

提交回复
热议问题