我想知道有没有办法在关闭shadowbox时重新加载父页面。基本上,我有一个页面,其中列出了我的所有类别。我使用shadowbox来调用edit.php?页面来做我所有的编辑,我想要重新加载父页面,它被称为shadowbox,以便应用所做的任何更改,而不需要用户刷新父页面。
我在谷歌搜索后找到了这个[ http://shadowbox.1309102.n2.nabble.com/Reload-parent-page-on-close-td4190962.html ],但在shadowbox.js(免费版)中,我找不到那篇文章中提到的任何相关代码。
有什么想法吗?
发布于 2013-01-10 03:49:17
它非常简单,有一个onClose-event:
Shadowbox.init({onClose:function(){location.reload();}});https://stackoverflow.com/questions/14244631
复制相似问题