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&layout=button_count&width=450&show_faces=false&action=like&colorscheme=dark&font=verdana&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"});