开发者

How can I make a modal window(url) refresh to another modal window(url) via facebox

This is ultimately what I want to achieve.

User clicks on Page1

Modal window opens.

User clicks on Page2

Modal window refreshes to that page.

/////

But this is what happens

User clicks on Page1

Modal window opens.

User clicks o开发者_StackOverflow中文版n Page2

Page changes to index2.html.


User clicks on "Page1" and page1 opens. In page1 the user clicks on "refresh parent" button. The button then activates the following javascript command:

window.opener.location.reload(true);

window.opener referes to the parent page and location.reload(true) refreshes the page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜