kurayami
Technical User
- Mar 12, 2008
- 31
Good day everyone!
I am trying to create an internal single html with an iframe. Here is my code that has the issue:
<div id="cont"></br>
<a href="#" onclick = "switchMenu('contacts')"><font size = "5px">Contacts</font></a></br>
<div id="contacts" style="display:none">
<hr>
links here
<hr>
</div></br>
<a href="#" onclick = "switchMenu('sprt')" ><font size = "5px">Support Links</font></a></br>
<div id="sprt" style="display:none">
<hr>
<a href= " target = "load">click here</a>
<hr>
</div></br>
</div>
<iframe id="load" name="load" src = "about:blank" width = "810px" height = "600 px" frameborder ="1" scrolling ="yes"></iframe>
All links are being loaded in the iframe. Everything is set and working fine with one problem. Whenever I open the page and click on the "click here", which is linked to the google website, I can't do anything on the google page. Can't click any links, can't type, nothing. But whenever I go to the links under the "contacts" div, everything is okay. When I go back again to the google link, it will now be working fine. I tried removing the whole "contacts" div part including the "contacts" anchor, the issue is still the same.
If I reopen the page and click on the links under the "contacts" div, I dont have any problem loading the link in the iframe and no problem clicking on the links inside it. By the way, all links in the "contacts" div are ref to *.mht files. Any ideas? Thanks!
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
-Douglas Adams
I am trying to create an internal single html with an iframe. Here is my code that has the issue:
<div id="cont"></br>
<a href="#" onclick = "switchMenu('contacts')"><font size = "5px">Contacts</font></a></br>
<div id="contacts" style="display:none">
<hr>
links here
<hr>
</div></br>
<a href="#" onclick = "switchMenu('sprt')" ><font size = "5px">Support Links</font></a></br>
<div id="sprt" style="display:none">
<hr>
<a href= " target = "load">click here</a>
<hr>
</div></br>
</div>
<iframe id="load" name="load" src = "about:blank" width = "810px" height = "600 px" frameborder ="1" scrolling ="yes"></iframe>
All links are being loaded in the iframe. Everything is set and working fine with one problem. Whenever I open the page and click on the "click here", which is linked to the google website, I can't do anything on the google page. Can't click any links, can't type, nothing. But whenever I go to the links under the "contacts" div, everything is okay. When I go back again to the google link, it will now be working fine. I tried removing the whole "contacts" div part including the "contacts" anchor, the issue is still the same.
If I reopen the page and click on the links under the "contacts" div, I dont have any problem loading the link in the iframe and no problem clicking on the links inside it. By the way, all links in the "contacts" div are ref to *.mht files. Any ideas? Thanks!
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
-Douglas Adams