Links in a IFrame to open in the parent window |
Links in a IFrame to open in the parent window |
dgreat_123 |
Sep 27 2012, 09:34 AM
Post
#1
|
Group: Members Posts: 2 Joined: 27-September 12 Member No.: 17,858 |
I am pulling a page to the new website from a current website using a iframe(contents from the current website are pulled from a database). The content in the iframes have lot of hyperlinks and these links open in same frame when clicked and I want them to open in a new window/parent window. Could you please help me with this question.
It would save me a lot of time. This post has been edited by dgreat_123: Sep 27 2012, 09:36 AM |
Darin McGrew |
Sep 27 2012, 10:20 AM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Please see the FAQ entry How do I get out of a frameset?
|
dgreat_123 |
Sep 27 2012, 10:30 AM
Post
#3
|
Group: Members Posts: 2 Joined: 27-September 12 Member No.: 17,858 |
I am pulling these links from a database. So I cannot add a target attribute. Is there any other way I could do it? |
Darin McGrew |
Sep 28 2012, 10:02 AM
Post
#4
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
QUOTE Is there any other way I could do it? No. You need a target attribute, either in the links themselves, or in the base element. |
Lo-Fi Version | Time is now: 26th May 2024 - 09:46 PM |