当前位置:Gxlcms > JavaScript > Iframe thickbox2.0使用的方法

Iframe thickbox2.0使用的方法

时间:2021-07-01 10:21:17 帮助过:2人阅读

thickbox.js中的
代码如下:
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;
});
}

将红色部分修改为:
代码如下:
self.parent.TB_show(t,this.href,g);

人气教程排行