一直試圖浮動FB像按鈕iFrame在Flash內容,使用allowTransparency和在FF和Chrome中很好地工作,但在IE8中,iFrame仍然有白色背景,我使用
swfobject加載閃光燈 。製作Facebook Like按鈕iFrame背景在IE8中透明閃過
修復中的任何指針,非常感謝!
的iFrame & 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"});
感謝您的回覆!恐怕我無法發佈實時鏈接,因爲客戶端/產品沒有推出,但是這裏是它在FireFox和IE8中顯示的屏幕截圖。 http://i871.photobucket.com/albums/ab277/Hofuzz/compare.jpg – Fuzz