且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何隐藏“页面加载"/“传输数据"加载(隐藏)iframe 导致的指示器和微调器

更新时间:2023-12-05 17:07:28

我最终找到了适合我们的解决方案.我们没有将文档加载到隐藏的 iframe 中,而是使用此处描述的htmlfile"对象:http://cometdaily.com/2007/11/18/ie-activexhtmlfile-transport-part-ii/

I eventually found a solution that will work for us. Instead of loading the document into a hidden iframe, we're using the "htmlfile" object described here: http://cometdaily.com/2007/11/18/ie-activexhtmlfile-transport-part-ii/

这解决了 IE 平台上的问题.而在非IE平台上,我们可以使用XMLHttpRequest + CORS + chunk encoding.

This solves the problem on IE platforms. And on non-IE platforms, we can use XMLHttpRequest + CORS + chunk encoding.