当前位置:首页 >> 网络编程

Iframe thickbox2.0使用的方法

编辑:jimmy
  日期: 2024/10/13 浏览:1 次
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);
上一篇: 用正则表达式 动态创建/增加css style script 兼容IE firefox
下一篇: js 颜色选择器(兼容firefox)