To open a link in the parent window inside a Iframe you can use the one of the below methods:
- If We wants all the link to open in the parent window then use the below tag in the header:
<head><base target="_parent"><base></head>
- We can also use the tag target="_parent" in <a href="aboutus" target="_blank"/> tag
- We can also use javascript
parent.document.location.href = "http://example.com";
No comments:
Post a Comment