2009-10-09 3 views
2

누군가가 Thickbox이 닫힌 후에 어떻게 기능을 활성화 할 수 있는지 조언 해 주시면 감사하겠습니다.thickbox가 닫힐 때 기능을 활성화하십시오

function tb_remove() { 
    window.parent.pageUpdate();// << this is what i have tried 
    $("#TB_imageOff").unbind("click"); 
    $("#TB_closeWindowButton").unbind("click"); 
    $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();}); 
    $("#TB_load").remove(); 
    if (typeof document.body.style.maxHeight == "undefined") {//if IE 6 
     $("body","html").css({height: "auto", width: "auto"}); 
     $("html").css("overflow",""); 
    } 
    document.onkeydown = ""; 
    document.onkeyup = ""; 
    return false; 
} 
+0

아무도 몰라? –

답변

0

해당 함수 호출이 작동해야합니다. 이는 테스트 케이스에 해당합니다.

두꺼운 상자 iframe을 사용하고 있습니까?

+0

이것은 나를 위해 완벽하게 작동했습니다. – Slee

관련 문제