title: Facebook Connect icon isn't showing up in Internet Explorer
body: <p>I'm working on a site that is using Facebook Connect and recently made some changes so that the main pages are cached and if you are not logged in (checked with an ajax call) it loads the Facebook Connect javascript and renders the connect button into the page. This works perfectly everywhere except Internet Explorer 7 and 8. The weird part is I render the buttons into a hidden Sign Up / Sign In form and when you show either of those the Connect buttons appear. You can take a look <a href="http://play.inspire2go.com" rel="nofollow noreferrer">here</a> and you will see the button in Firefox and not Internet Explorer. If you click Sign In the button will show up.</p>
  
  <p>This is a Rails app so on the server-side we're responding to an ajax call with rjs like this:</p>
  
  <pre><code>  page['signin-status'].replace(:partial =&gt; "common/layout/signin_menu")
  
    page.select('.facebook-connect').each do |value, index|
      value.replace(render(:partial =&gt; '/facebook/signin'))
    end
  
    page &lt;&lt; &lt;&lt;-eos
    LazyLoader.load('http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php', function(){
      FB.init('#{Facebooker.api_key}','/xd_receiver.html');
    });
  eos
  </code></pre>
  
  <p>The first line is replacing the header, the second is the Connect buttons in the Modal dialogs. The partial being rendered into the header looks like this:</p>
  
  <pre><code>&lt;span id='signin-status'&gt;
    &lt;%= fb_login_button(remote_function(:url =&gt; "/facebook/connect"))%&gt; |
    &lt;%= link_to_function "Sign In", "showSignInForm();", :id =&gt; "signin" %&gt; |
    &lt;%= link_to_function "Sign Up", "showSignUpForm();", :id =&gt; "signup" %&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p>The Partial being rendered into the Modal dialogs looks like this:</p>
  
  <pre><code>  &lt;div class='facebook-connect'&gt;
      &lt;div id="FB_HiddenContainer"  style="position:absolute; top:-10000px; width:0px; height:0px;" &gt;&lt;/div&gt;
      &lt;label&gt;Or sign in with your Facebook account&lt;/label&gt;
      &lt;%= fb_login_button(remote_function(:url =&gt; "/facebook/connect"))%&gt;
    &lt;/div&gt; 
  </code></pre>
  
  <p>I find it very strange that showing the Modal dialog causes all the icons to show. Does anyone have any ideas or suggestions about what's going on?</p>