I try to force an iframe to open in his parent page with this code
<script type="text/javascript"> if (window.parent = window.top) { parent.location.href = "https://ait-stein.com/nos-talents"; } </script>
But it doesn't work.
The parent page is this one https://ait-stein.com/nos-talents And the iframe is this one https://ait-stein.com/nos-talents/charge-d-affaires
Of course if the iframe is openned alone there is no header and footer. That's why I would like to force openning in the parent page
Do you have any solution ? Thanks for your help
Yves
1.4m articles
1.4m replys
5 comments
57.0k users