• 0

Iframe header/navigation - Nav links loading inside Iframe in internet explore.


Question

So I am using a service for my forums and store that directly interacts with my minecraft server.

 

The service lets you put in your own html in the header section but is pretty limiting. To match my current site I linked my header in an iframe.

The iframe works perfectly in Firefox and Chrome. But in Internet Explore it loads new pages inside the Iframe instead of the main window.

http://miningmojo.enjin.com/community

 

Any help would be much appreciated! :)

<div style="height:310px; width: 973px;"> 
<iframe src="https://miningmojo.com/Header1/" style="height:410px; width:100%; z-index:100;" style="visibility:hidden;" onload="this.style.visibility = 'visible';"> 
</iframe>  
</div> 
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Are you talking about the border that appears in older versions of IE (or the current version of IE in compatibility mode).

 

If so, try adding the frameBorder="0" to the iframe tag. IE requires the B to be capital in the attribute name.

<div style="height:310px; width: 973px;"> 
<iframe src="https://miningmojo.com/Header1/" style="height:410px; width:100%; z-index:100;" style="visibility:hidden;" onload="this.style.visibility = 'visible';" frameBorder="0"> 
</iframe>  
</div> 
Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.