Hello =)
I hope I'm right in understanding what you say. Let me use the following as an example. If I do understand correctly, the above example might not be suitable where a user cannot display javascript URLs, say on a bulletin board for example. SO...
INDEX.HTM is the page with the relevant iframe and the source of this iframe is viewcall.htm. Now, you want to link to it somehow, but obviously not to viewcall.htm directly because it will be viewed as the page itself and not in the context of index.htm or in an iframe.
This offers a possible solution, but I find it is rather temperamental. It doesn't seem to work in FireFox, although some adequate modifications might suffice. I don't advise jumping the gun and sticking this straight into a productive site, but hopefully it can give you some guidance.
In INDEX.HTM, you obviously need the iframe, although you don't need a source file to point to since links will do this.
At a suitable location on the page, bearing in mind the page will scroll to this location, so it might be best as the first code after the <body>, insert something similar to the following...
<a href="#" id="viewcall" onfocus="load()"></a>
<script>
function load()
{ CallViewIframe.location.href="viewcall.htm" }
</script>
In the target file, insert the following into the <head>, modifying where necessary (it need to target index.htm, so it might be "index.htm#viewcall" or "../#viewcall" or whatever...
<script> if (self.location==top.location) self.location = "#viewcall"</script>
...which will mean if anyone links to viewcall.htm, they will be redirected to index.htm.
Now, once you have this set out correctly, you can link to it...
http://[domain]/index.htm#viewcall or
http://[domain]/#viewcall
What is happening here is #viewcall is targetting the relevant ID and the page then scrolls to it. In doing so, the focus is set on it, meaning we can then use onfocus to pass commands to it, as above. There is a problem however, it's possible that everytime the focus is regained on this ID, an event will occur if you have one set on it. For that reason, I advise putting this into the <body> tag and also into the <iframe> tag...
onLoad="self.focus()"
...so as to give focus to the body or the iframe immediately after the <a href> has been focused. Failing this, it's possible a loop can occur, particularly if you use an alert or confirm box.
Sorry this is a bit wayward, but I spent an entire night trying to get my head around this exact scenario and it's the best I come up with!
Hope this Helps,
M_M