Is there any way to make an iframe act as if it were part of the page. Such as when I click a link, it either will open the links in a new tab/window by default, or have it so that when a link is clicked, it will open in the same window, but not just the iframe?
Share
You can just set the
targetattribute. To open in the current top window (top frame):Or to open in a new window:
There’s also
_parentfor the parent window (not necessarily the top) and_selffor the current window (the default).