将当前的iframe数据加载到新窗口中 [英] Loading current iframe data into a new window

查看:66
本文介绍了将当前的iframe数据加载到新窗口中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个内嵌iframe的网站.我希望当一个人单击iframe内的链接时,应该打开一个新窗口,将用户带到他们想要访问的网站(即iframe)中的页面.我希望我很清楚.非常感谢(提前)提供的所有帮助.

I have an iframe with a website inside it. I want that when a person clicks on a link inside the iframe a new window should open up bringing the user to the page in the website (that was in the iframe) that they were trying to go to. I hope I am being clear. Thanks so much (in advance) for all the help.

推荐答案

将链接的目标设置为target="_blank"


set the link''s target to target="_blank"


<a href="http://www.codeproject.com/" target="_blank">Open In New Window</a>


这篇关于将当前的iframe数据加载到新窗口中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆