如何从外部的内部框架打开链接? [英] How to open links from inframe outside of it?
问题描述
好吧,我有这个问题,即时通讯使用灯箱srcipt和即时通讯打开一个iframe,所以它只是简单的iframe。有没有办法在这个iframe中放置一个链接,并在普通窗口(iframe外部)打开这个链接? 使用< a href =...target =_ top>我的链接< / a>
将其放在其他所有框架之上。
_blank将放入一个新的窗口或标签中。
$ b $ _parent将把链接放在框架上方当前(如果只有一层框架,则与_top相同)使用框架的名称(不是id)将打开该框架中的链接。
http://www.w3schools.com/tags/att_a_target .asp
well I have that problem, im using a lightbox srcipt and im opening an iframe in it so it's simply iframe. Is there a way to put a link inside of this iframe and open this link in normal window (outside of iframe) ?
Use <a href="..." target="_top">My Link</a>
to put it on top of all other frames (break out).
_blank will put in a new window or tab
_parent will put the link in the frame above the current (same as _top if only one level of frame)
Using the name (not id) of a frame will open the link in that frame.
http://www.w3schools.com/tags/att_a_target.asp
这篇关于如何从外部的内部框架打开链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!