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;
}
沒有人知道嗎? – 2009-10-09 11:20:34