Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/flash/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
IE中facebook对话后Flash应用不会重新出现_Facebook_Flash_Internet Explorer - Fatal编程技术网

IE中facebook对话后Flash应用不会重新出现

IE中facebook对话后Flash应用不会重新出现,facebook,flash,internet-explorer,Facebook,Flash,Internet Explorer,Internet explorer用flash内容覆盖facebook对话框,这是当用户单击打开对话框时隐藏任何flash内容的常见解决方案 闪存正在隐藏,但不会再次出现,以下是我的代码: function postToWall(postName,postCaption,postDescription,postPicture,postLink) { hideFlash(); FB.ui({ method: 'feed', name: postNam

Internet explorer用flash内容覆盖facebook对话框,这是当用户单击打开对话框时隐藏任何flash内容的常见解决方案

闪存正在隐藏,但不会再次出现,以下是我的代码:

function postToWall(postName,postCaption,postDescription,postPicture,postLink) {
    hideFlash();
    FB.ui({
        method: 'feed',
        name: postName,
        caption: postCaption,           
        access_token: '<?php echo $accessToken ?>',
        description: postDescription,
        picture: postPicture,
        link: postLink,
        display: 'iframe'
    },

    function (response) {
        showFlash();
        var swf = swfobject.getObjectById("flashContent");
        swf.postToWallCallback(response);


    });
    return false;
}


function hideFlash(){
    var flashContent = document.getElementById("flashContent");
    flashContent.style.visibility = "hidden";
}

function showFlash(){
    var flashContent = document.getElementById("flashContent");
    flashContent.style.visibility = "visible";
}
函数postToWall(postName、postCaption、postDescription、postPicture、postLink){
hideFlash();
FB.ui({
方法:“提要”,
姓名:postName,,
描述:后适应,
访问\u令牌:“”,
描述:postDescription,
图片:后期,
链接:postLink,
显示:“iframe”
},
功能(响应){
showFlash();
var swf=swfobject.getObjectById(“flashContent”);
swf.postToWallCallback(响应);
});
返回false;
}
函数hideFlash(){
var flashContent=document.getElementById(“flashContent”);
flashContent.style.visibility=“隐藏”;
}
函数showFlash(){
var flashContent=document.getElementById(“flashContent”);
flashContent.style.visibility=“可见”;
}

我通过浏览器检查解决了这个问题,然后对任何版本的IE使用display:“popup”