阅读背景:

如何检测何时完全下载加载AJAX的图像?

来源:互联网 

I'm working on a website where the homepage has a rotating banner. When the page is loaded, an AJAX request is performed to retrieve the rest of the banners (each of which has a 960-pixel wide image). I toyed with the idea of loading the page normally with all the banner HTML loaded, but the target audience of the website are not always guaranteed to be on a blazing connection, and I wanted the homepage to load quickly. Plus, I didn't want conflicting H1 tags. The page in question is the landing page at I'm working on a website where the homepage has




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: