很抱歉再次问同样的问题,似乎没人知道,我真的很需要答案。
大家好,有人可以告诉我如何在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;
}
火狐说:
Error: window.parent.pageUpdate is not a function
Source File: https://web111.secure-secure.co.uk/snowyswebsolutions.co.uk/scripts/js/thickbox.js
Line: 270