how to open the minimized window after refreshing the page?
-
Hi, i am having one window and overlay.. when i am clicking the link, first overlay will be displayed and iam clicking the accept button in the overlay..then new window will be opened.. now i am minimizing the window after refreshing the page when i am clicking the link...minimized windonw should be opened..instead of overlay...
xxx = window.open(URL, "tool", "width=800, height=700, left=0, top=0, scrollbars=Yes,resizable=yes, menubar=no,directories=no,location=no");
tool.focus();xxx variable is showing null once i refreshing the page...then how can i get to know the existing and minimized window? i have used the below code...but didn't work for my requirement..
if (!xxx.document.URL || xxx.document.URL.valueOf("tool") == 0) {
alert("hi");
}thanks in advance
-
Hi, i am having one window and overlay.. when i am clicking the link, first overlay will be displayed and iam clicking the accept button in the overlay..then new window will be opened.. now i am minimizing the window after refreshing the page when i am clicking the link...minimized windonw should be opened..instead of overlay...
xxx = window.open(URL, "tool", "width=800, height=700, left=0, top=0, scrollbars=Yes,resizable=yes, menubar=no,directories=no,location=no");
tool.focus();xxx variable is showing null once i refreshing the page...then how can i get to know the existing and minimized window? i have used the below code...but didn't work for my requirement..
if (!xxx.document.URL || xxx.document.URL.valueOf("tool") == 0) {
alert("hi");
}thanks in advance
interesting do you think you can put together a really simple demonstrating the problem?? I have never seen this before and in part I wonder if this is limited to only certain browsers/versions.
as if the facebook, twitter and message boards weren't enough - blogged
-
Hi, i am having one window and overlay.. when i am clicking the link, first overlay will be displayed and iam clicking the accept button in the overlay..then new window will be opened.. now i am minimizing the window after refreshing the page when i am clicking the link...minimized windonw should be opened..instead of overlay...
xxx = window.open(URL, "tool", "width=800, height=700, left=0, top=0, scrollbars=Yes,resizable=yes, menubar=no,directories=no,location=no");
tool.focus();xxx variable is showing null once i refreshing the page...then how can i get to know the existing and minimized window? i have used the below code...but didn't work for my requirement..
if (!xxx.document.URL || xxx.document.URL.valueOf("tool") == 0) {
alert("hi");
}thanks in advance
I think you worded it wrong. Perhaps you have a model
or panel, and when you refer to minimized, you mean hide or show. Anyways, you have to post the page back to the server, so the server will postback the windows the way you want. Overall, you should should do it all on the client side, and not refresh the page, and work with a modal popup, or a jquery popup.