Roman
Roman

Reputation: 131288

How to prevent loading of a page in the original frame?

On my website I have a frame containing another page. When I click on a link (which is on the page in the frame) I get a new page in the same page. So, the whole web page is not reloaded (just content of the frame). Can I change this behavior? After the click I want to go to the new page (not just to have it in the original frame).

Upvotes: 1

Views: 81

Answers (1)

n8wrl
n8wrl

Reputation: 19765

Target your link to _parent:

<a href="..." target="_parent">...</a>

Upvotes: 2

Related Questions