I've got a Wordpress website hosted with a page that contains an and within this iframe I have a few html pages like overview.html, diagram.html etc. In these html pages there are sections containing an ID that I can use to link to using #overview-chapter-1 (for example). However I do not want to do this linking from the containing parent, but from a different website hosted somewhere else.
What would I like to achieve?
I would like to open a specific section of the website that is embedded in the iframe from a different website than the parent containing this iframe.
- So for example I have the following iframe which is hosted on
- example.com. The overview.html contains a div named link-to-me.
How am I able to link to the overview.html#link-to-me from an that is not on the same website?
Please read this before answering the question:
This is not what I am looking for because this only applies to a link inside the same page. open link in iframe
Thanks for any help!