I need to make a map with 20 locations. Each location is linked to its site with a detailed description. I use the Elfsight Google Maps widget that has everything I need, including the marker of location that leads to the description page. The problem is when I put a widget in iframe, all links from the map are opened in iframe.
Is there a way to open links outside of iframe?
Thanks in advance
Hey
If you use the html component and insert some html code and you want all links to open in the parent window you can do that by looking at this post:
That is not really a Wix Code question I guess but look there.
I hope it helps.
Thank you. Its works !!!
<a target=“_parent” href=…
@zarkozdorc If you think that my answer helped you please mark it Top Comment as it will help others to find the solution faster. Thank you!
its not work for me
i need help
The above solution is known to have problems. A cleaner way to do it is this:
1).postMessage a message (URL) back from the iframe to the parent page
2) let the parent page display something (listening to onMessage) or load another page with wix-location.to
I did not understand exactly can you show an example of this
I want to make a custom button to open link