I have a page with an iFrame in it. I want to be able to send links to people, that will open a page within that iFrame on my page.
The main (parent) page is called results.html
The iFrame has the id "searchresults"
The page that I wan people to be able to open within that iFrame is results.php
, but it would have a number of parameters in it (for example results.php?id=5
)
How would I construct the link to send to people?
For example, would it be /results.html?target="searchresults";?results.php?id=5
I simply can't work it out!