+ 2
Ques
how to open the link in parent frame?
4 odpowiedzi
+ 4
You can use target frame with its value parent.
e. g.
<a href="anylink" target="_parent">link</a>
+ 4
@visph that code was posted by mistake.Sorry!
+ 2
@Nanda: '_self' (and not 'self', be accurate ^^) will not open the link in the parent frame, but in the actual frame holding the link...
@Lakshay: you're right that's the 'target' attribute to be used, but why posting a second answer with unrelated code? @@
@Priyank Sharma:
For the 'target' attribute of <a> html link element, '_parent' value will target the parent frame (obviously ;P), and '_top' allow you to target the actual root parent document (ie: if you have a page embeding an <iframe> which itself contains another <iframe> with the link, the grandparent will be targeted)...
- 1
hi,
use _parent value to open a link in parent frame.
sry guys I wrongly typed now I corrected.
thanks