Question Locked

problem: iframe open link in new window or in parent window

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

please paste following code in your .aspx or any other language page and run it

you got the yahoo's web site in your browser , when you click on "answer" or any button bellow that
one, new page is open in perent window or in new window ! i want to avoid that one,
i want to open new page in same frame

What can i Do?

2 replies

by thumbsup2

use target="_self" if, and ONLY IF, you have control over the links within that iframe.

IF you can not control the links being presented on that page, then do NOT open the page in an iframe. Open it in another window. This is just common sense for most web designers.

.

This discussion is closed to new replies.