[GIS] Open popup link in same window


I'm using a webmap on my page. The webmap contains layers with popups. These popups contain a link with url GET parameters (ex: www.example.com?id=123)

Is there a way to force the link to open in the same window? How do I capture the GET parameter on this page?

Best Answer

Use: target="_top" :

Opens the linked document in the full body of the window

In your HTML create a syntax like this:

<a href="http://[your link.com]" target="_top">link text</a>