Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Twitter 小部件,它在 IE8 中运行良好,直到我将它放入 iFrame 中。twitter 小部件 Javascript 文件是从 iFrame 中加载的,正如我所说,它可以独立运行。有任何想法吗?
经过大量测试后,似乎是加载 JavaScript 的顺序导致了问题。我的页面上有很多 JavaScript,在将 Twitter 脚本标签移到我的文档头部的所有其他 javascript 或 css 标签之上之后,它就起作用了!