Is it possible to set an iframe to a Name'd anchor (e.g. name=#ref) from a different page?

Within the page I can:
Code:
document.getElementById('iframePM').src = hrefString;
with the #ref as a suffix. There wouldn't appear to be a way to manipulate the DOM link hash until after the page is loaded, so it can't be done from the page doing the navigation from. Is a session cookie the only way?

BTW, I'm only using an iframe because of the need to minimize expertise needed to load the monthly Word newsletter, which saved as a filtered HTML document - I then add the name=#ref etc. at the appropriate places. I also don't want/need to open a separate window containing the iframe.