2

I need to load about 400-500 images to the on single page at a time. Is there a quick way of doing so. I can, in fact, load the images using a for loop but that takes very long?

Many thanks in advance Umesh

4

1 回答 1

1

由于 IE 渲染速度很慢...请不要一次添加所有图像...

正如您在评论中提到的图像大小,用户一次无法看到所有图像......所以他必须向下滚动才能看到剩余的图像......所以我们为什么不能使用滚动事件......

在第一个镜头循环第一组图像(比如说50)..从那时你可以使用窗口滚动事件..

在滚动时,您可以附加下一组 50 张图像...

这将增加文档加载时间......不仅在 Internet Explorer 中,而且在其余浏览器中......

于 2013-04-20T10:47:10.127 回答