How to change the link when you navigate to other pages within the iFrame?

Hello! It is necessary that when switching to other page (inside the iFrame ) , and changed the address bar where the iFrame is located ( i.e. on my website)
March 19th 20 at 08:57
1 answer
March 19th 20 at 08:59
Alternatively, you can so
<!DOCTYPE html>
<html>
the <head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style>
html, body, div, iframe {margin:0;padding:0;height:100%;}
iframe {display:block;width:100%;border:none;}
</style>
</head>

the <body>


 the <div><iframe src="http://yandex.ru"></iframe>
</div>


</body>
</html>


Let's say an iFrame to Yasha that needs to be paid to the code to make the transition to mail Yandex(inside the frame) external link is also changed ( but left my domain). Thanks in advance!!) - Carroll commented on March 19th 20 at 09:02

Find more questions by tags iframeJavaScript