What is the problem you are getting when you are opening both the windows simultaneously?
If you write like following, both the window will open simultaneously.
function Load() {
window.open("http://www.google.com");
window.showModalDialog('http://www.google.com');
}
But if you will write like following, your popup will not open until you close the modal dialog, your
window.open
line will only execute once the modal dialog is closed. This the the default behavior of
window.showModalDialog
.
function Load() {
window.showModalDialog('http://www.google.com');
window.open("http://www.google.com");
}
Follow the first approach and you will be able to open them simultaneously.