当前位置:Gxlcms > JavaScript > Iframethickbox2.0使用的方法_javascript技巧

Iframethickbox2.0使用的方法_javascript技巧

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

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);

人气教程排行