Hi,
I've got a PHP page serving content into an Iframe on another website, and it needs to re-load content inside the Iframe according to user interaction on the host website. The page content that's inside the Iframe contains multiple URLs.
In order for the Iframe interaction to work, I was thinking of using a request parameter in the URLs that identifies that it's a call for the Iframe --- in order to reload the content with custom formatting/styles/behavior for the host website, instead of treating it as a normal request.
What might be a simple solution for rendering lots of URLs on the page with a custom request parameter, without having to add this manually to the end of every link in the relevant HTML templates?
I've found a few JavaScript-based ideas but they seem a little excessive. Any pointers would be appreciated.
Thanks.