-3

Lets say you have an iframe:

<iframe style="border-radius:15px;" width="190" height="450" 
     frameborder="0" scrolling="no" marginheight="5"
     marginwidth="10" src="../img/interactive_map/interactive_sverige.htm">
</iframe>

It has it source locally, which is a interactive map. The map contains links. The goal is to open the link in the window that you already are, not in the iframe itself (on the page).

Is this possible?

/Thnx

  • 2
    take a look at http://stackoverflow.com/questions/1037839/how-to-force-link-from-iframe-to-be-opened-in-the-parent-window – coma May 01 '13 at 21:25
  • 1
    I did, but i have no clue how to or where to insert ? Why -3? What is wrong with this question? :( – Captain May 01 '13 at 22:20

1 Answers1

0

Wouldn't adding target="_top" to the link in interactive_sverige.htm do the trick?

So in your iframe:

<a href="foo.html" target="_top">Foo</a>
Don Boots
  • 2,028
  • 2
  • 18
  • 26