simple fbml fb:login-button is not rendering in ie6

The following codes works in FF and Chrome, but IE6 does not render the connect button.

What am I missing here?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0     Strict//EN" ""> 
<html xmlns="" xmlns:fb="">
<fb:login-button>Login button</fb:login-button>
<script src="" type="text/javascript"></script>
<script type="text/javascript">  
FB_RequireFeatures(["XFBML"], function(){ 
    FB.Facebook.init("API_KEY", "/xd_receiver.htm"); 


Seems the problem is with the Maxthon browser and not the straight forward IE6.

Replace the javascript to this one:

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); = id;
  js.src = "//";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

Need Your Help

Python script is behaving differently when run through batch file and cmd line

python windows batch-file cmd

I have a Python script which needs to be run with a batch file, but I've been using cmd to test it. When run through cmd, it works fine. However, the script seems to behave differently when run th...

How can I extract the distance from Google Directions API via Excel web query?

excel api vba distance

I have a long list of origins and destinations in Excel, using webquery I can fill in the cities and postal code to give a webquery like: