tags:

views:

1241

answers:

2

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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; 
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"&gt;
<head>
<title></title>
</head>
<body>
<fb:login-button>Login button</fb:login-button>
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script type="text/javascript">  
FB_RequireFeatures(["XFBML"], function(){ 
    FB.Facebook.init("API_KEY", "/xd_receiver.htm"); 
}); 
</script> 
</body>
</html>
A: 

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

Mark
A: 

I am having the same issue with and it seems that there is a problem with FB_RequireFeatures in IE6. I have not found anything else, but IE6 does throw an Javascript error "Object Expected" when that function is there, while the error is absent when the function is not there. I cannot debug IE6 any further.

Jeff

related questions