【问题标题】:How can I make a modal window(url) refresh to another modal window(url) via facebox如何使模态窗口(url)通过facebox刷新到另一个模态窗口(url)
【发布时间】:2010-01-28 06:07:11
【问题描述】:

这是我最终想要达到的目标。

用户点击第1页

模式窗口打开。

用户点击Page2

模态窗口刷新到该页面。

/////

但这就是发生的事情

用户点击第1页

模式窗口打开。

用户点击Page2

页面更改为 index2.html。

【问题讨论】:

  • 是去模式窗口中page2的链接吗?
  • 是的,它在模态窗口中。

标签: jquery html modal-dialog thickbox facebox


【解决方案1】:

用户点击“Page1”并打开page1。 在 page1 中,用户单击“刷新父级”按钮。然后该按钮会激活以下 javascript 命令:

window.opener.location.reload(true);

window.opener 引用父页面,location.reload(true) 刷新页面。

【讨论】:

    猜你喜欢
    • 2023-03-05
    • 1970-01-01
    • 2016-12-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多