Copy code in thickbox.js The code is as follows:
function TB_init(){
$("a.thickbox").click(function(){
var t = this.title || this.name || null;
var g = this.rel || false;
TB_show(t,this.href,g);
this.blur();
return false;
});
}
Change the red part to :
self.parent.TB_show(t,this.href ,g);