Link inside iframe wont work

走远了吗. 提交于 2019-12-12 03:54:40

问题


This drives me totally crazy now. A link (http://ns.nl) on the page inside the iframe I made wont work (http://newsoundsofeurope.com/videos/playlisttest). Chrome doesn't do anything after the mouse click. Firefox just opens a blank page inside the iframe. Anyone can help?

Page with iframe:

<html>
<head>
</head>
<body>
<iframe src="playlist_iframe.php"></iframe>
</body>
</html>

Page inside iframe:

<html>
<head>
</head>
<body>
<a href="http://ns.nl" target="_self"><img src="026.png"/></a>
</body>
</html>

回答1:


Remove target="_self and will work.



来源:https://stackoverflow.com/questions/34414091/link-inside-iframe-wont-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!