English 中文(简体)
3. 使“Face”与纽特 IE8
原标题:Making Facebook Like button iFrame background transparent over flash in IE8

Been trying to float FB Like button iFrame over flash content, used allowTransparency and works nicely in FF and Chrome, but in IE8 the iFrame still has a white background, I use
swfobject to load the flash.

任何要点都非常赞赏。

i Frame & swfobject 资料来源:

     <iframe src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fapps.facebook.com%MYAPP;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=dark&amp;font=verdana&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px; position: absolute; background-color:transparent; top: 50px; left: 623px ; z-index:1255; allowTransparency:true;"  ></iframe>


swfobject.embedSWF("my.swf", "mySWF", "753", "774", "10.0", "#000000", null, null, {name:"mySWF",wmode:"opaque"});
问题回答

You re using allowtransparency as a style but it needs to be an attribute of your iframe. <iframe allowtransparency="true"></iframe> There may be a delay, but once the page is loaded, the background of your iframe should be transparent.

如果我正确理解你的问题,我实际上不认为允许你这样做。 如果你检查Facebook sbranding guidelines,它就象纽伦那样说,你是改变形象的。

在我误解的情况下,你是否与你试图达到的目标有生动的联系,在哪里,你在FF和 Chrome上工作?





相关问题
Facebook Connect login dialog not working

I am using Facebook Connect for iPhone and following the official instructions. I use the following code to display the login dialog: FBLoginDialog* dialog = [[[FBLoginDialog alloc] initWithSession:...

Facebook App Profile Tab is Empty ... No Content Displayed?

I can view my application via the http://apps.facebook.com/myapplication/ link and the content shows up correctly. I also added the application as a tab to a facebook page. However, when viewing the ...

Facebook Platform error: "Object cannot be liked"

I m working on a Facebook Application that generates wall posts. In testing these posts, I ve discovered that the Facebook Platform action of "liking" a post is failing. The specific error message ...

how to call showPermissionsDialog() in php (facebook api)?

I was reading over the documentation yet I could not figure out how to call Facebook.showPermissionsDialog() in php include_once ./facebook-platform/php/facebook.php ; $facebook = new Facebook(my ...

Facebook connect

If I plug in the facebook connect into my website, How can I prevent double signups? Lets say I have a user that s already signed up to my site but he clicked the connect with facebook, is there a ...

热门标签