How to load the content of a page into another window?
Posted
by Cristian Castiblanco
on Stack Overflow
See other posts from Stack Overflow
or by Cristian Castiblanco
Published on 2010-06-11T20:47:22Z
Indexed on
2010/06/11
20:52 UTC
Read the original article
Hit count: 204
I'm building a Dashboard and for some stupid reasons my boss wants to load it in a frame on the homepage (yes a frame, he still lives in the 1990s). Anyway, sometimes the dashboard needs some room so that it can show all charts correctly, so I want to add a feature to load the content of the dashboard into a new window.
The problem is that, if the user has had some interaction with the dashboard, it will contain modal dialogs, new images, etc... so I want to load all the dashboard content into a new window without reloading its content. Of course, the user should be able to continue browsing the dashboard without problems.
How can I do that? I'm using jQuery as my JavaScript framework.
© Stack Overflow or respective owner