IE hack for javascript & iframe
<p>I have a site with URL links on a Links page. Each link takes you to a Frame page that is a big iFrame that pulls in the given URL. I'm using javascript to do this and it works in FF, Safari, Opera and Chrome, but not IE. Does anyone know what I can do to get it to work in IE? </p>

<p>I've built it in WordPress. I have this in Head section between  tags and  tags:</p>

<pre><code>    &lt;script type="text/javascript" language="javascript"&gt; 
      function loadIF() { 
      iFrameSrc=location.href.split('?'); 
        if ( iFrameSrc[1] != null ) { 
          document.getElementById('external').src=iFrameSrc[1]; 
          } 
        else { 
          document.getElementById('external').src='default_page.htm' 
          } 
        } 
    &lt;/script&gt;  
</code></pre>

<p>Then I put this in header.php as well:</p>

<pre><code>    &lt;body onload="loadIF()" &lt;?php body_class(); ?&gt;&gt;
</code></pre>

<p>Here is the link markup:</p>

<pre><code>&lt;a href="/frame1?http://www.website.com"&gt;Website&lt;/a&gt;
</code></pre>

<p>Thanks-
Chris</p>
