Since linking to another page in the prototype reloads the page, no. You can’t. That leaves you with two options:
- Don’t reload the page
- Pass the correct state back to the external site when it loads again
The first requires you to re-architect your prototype such that everything happens on one page. At a high level, you could use dynamic panel states to simulate “pages.” This way the iframe is never reloaded and you preserve the state of the external site.
The second option requires that your external site can handle retrieve its state from the URL, such that you could track state with Axure variables and then construct the correct URL for the external site to show the state you want. For example, perhaps it supports something like https://www.google.com/?q=query"
, where Google uses query parameters to pass state to the page and prefills the search box with query
. Of course I do not know if the site you’re using implements anything like that.
Another way to do this entirely on your end would be to use some JavaScript to grab the location of the iframe before you go to the next page, save it to a variable, and then on the next page reload the iframe using the URL in that variable. This does not guarantee it will be the same state though if the website changes state but didn’t reflect it in the URL.
The first option is probably the easiest.