【发布时间】:2018-12-31 11:13:50
【问题描述】:
我正在尝试使用链接控制 iframe 内安全网站的导航,但它一直在新选项卡或窗口中打开。它在不安全的网站中正常工作。这是我的代码:
<a href="#" onclick=window.open("https://www2.ecinteractiveplus.com/0463/Product/OND/VBD50BK/","iframe1");>Binders</a>
<a href="#" onclick=window.open("https://www2.ecinteractiveplus.com/0463/Product/UPG/BLU113/","iframe1");>Folders</a>
<iframe name="iframe1" src="https://www2.ecinteractiveplus.com/0463" style="min-height: 1100px;height:100%; min-width: 600px; width:100%;"></iframe>
非常感谢任何帮助!
【问题讨论】:
标签: javascript html iframe https hyperlink