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.
我的网站中有一个 iframe,我正在使用它,但是当 iframe 加载时,它在开始时会显示 1 秒的徽标,我可以使用 javascript/jquery 延迟 iframe 加载时间,以便在开始时显示徽标吗?
任何帮助将不胜感激谢谢
您可以使用setTimeout来延迟
setTimeout(function(){ //your code here. }, 5000);