Really Strange Problem with IFRAME location.href

J

June Moore

I have a page with an IFRAME. When I tried to dynamically set the
location.href of the IFRAME to a URL address, the Internet Explorer
browser loads the page onto the IFRAME correctly but a very strange
thing usually happens, i.e. the progress bar shows that the page is
loading in progress.

e.g.

<iframe name="test" width="100" height="100"></iframe>
....
<script>
document.test.location.href="aTestPage.aspx";
</script>

Any clues how to resolve the progress bar problem?

Thanks very much,
June.
 
M

Mick White

June said:
I have a page with an IFRAME. When I tried to dynamically set the
location.href of the IFRAME to a URL address, the Internet Explorer
browser loads the page onto the IFRAME correctly but a very strange
thing usually happens, i.e. the progress bar shows that the page is
loading in progress.

e.g.

<iframe name="test" width="100" height="100"></iframe>
...
<script>
document.test.location.href="aTestPage.aspx";
</script>

Any clues how to resolve the progress bar problem?


Try assigning the "src" to your URL.
Mick
 
J

June Moore

Mick White said:
Try assigning the "src" to your URL.
Mick

This doesn't work. I'm at a loss as to what to do next.
Any help will be greatly appreciated.

J.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top