I'm following the directions to add a Facebook Like button to my site. How hard could it be? The directions look simple. Here is my HTML:
<iframe id="id39" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" scrolling="no" class="likeButton component" src="http://www.facebook.com/plugins/like.php?href=http%3a%2f%2flocalhost%3a8080%2ftest%2f&send=true&layout=standard&width=4开发者_如何学Python50&show_faces=true&action=like&colorscheme=light&font&height=80" guise:attributeHash="+yj/AWCw4TJREowYfJCNoaoNfZk="></iframe>
(Yes, I know I'm using localhost---how else am I supposed to test it?)
The button doesn't show up on Firefox 4 or IE9. Firebug shows me that stuff is getting loaded in the iframe. And I get a nice "Bootloader is not defined" error in the Bootloader.configurePage([]) that Facebook loads into the iframe. What's up?
精彩评论