Im trying to control the navigation of a secure website inside an iframe using links but it keeps opening in a new tab or window. It works normally in a nonsecure website. Here's my code:
<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>
Any help is greatly appreciated!