Msg#: 4278532 posted 10:51 pm on Mar 8, 2011 (gmt 0)
Facebook is blocked in some offices and countries. If a website has a 'Like' button, it will turn gray (page not found in the iframe) to those viewers and it makes the page look broken.
Do you have any idea (maybe CSS method) to hide this gray area? When <iframe> is not loaded, it will show some other thing (like white color background) instead of showing a gray "dead" page?
The code for like button is like this: <iframe src="http://www.facebook.com/plugins/like.php?href=your URL;layout=standard&show_faces=false&width=40&action=like&colorscheme=light&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:35px;" allowTransparency="true"> </iframe>
Msg#: 4278532 posted 3:13 am on Mar 9, 2011 (gmt 0)
Before you begin, you might want to make real sure this isn't contrary to any Facebook terms of service.
One tricky part to be aware of is that different organizations block in different ways. Some might just let the request time out, while others return a response telling the users that site is forbidden.