您现在的位置是:首页 > 其他

李清波 2015-10-19 其他 1644 复制当前网址

asyncbox close

  • 说明:

  • 关闭窗口。

  • 函数调用:

  • 【封装函数】asyncbox.close(id);

  • 参数配置:

  • - id (String,Object.id)

  •    └ 窗口ID。



AsyncBox 代码:

使用辅助函数,从外部关闭窗口:

//如需阻止窗口关闭,请在判断 action 值内加入 return false asyncbox.open({
     id : 'new_html',
   url : 'asyncbox.html',
   width : 400,
   height : 300,
 });

  //在其他地方关闭该窗口
  asyncbox.close('new_html');


文章来源:http://liqingbo.com/blog-991.html

上一篇:asyncbox exist

下一篇:asyncbox btn

评论