【发布时间】:2013-04-29 06:51:33
【问题描述】:
使用 Highslide 我想在使用 close X 关闭 ajax 窗口时刷新父页面。我已经在页面上有一个按钮可以执行此操作,但不能保证用户会使用该按钮。我尝试了几个我找到的示例,但似乎都没有。
hs.Expander.prototype.onAfterClose = function() {
parent.window.location.reload();
}
hs.Expander.prototype.onAfterClose = function() {
if (this.a.id == 'tag-send-form') parent.window.location.reload();
}
任何帮助将不胜感激。
【问题讨论】:
标签: highslide