The original window should not reload, but is, and I have tested it with both version 4.72 and 7.02, and they both do it. IE does not do it. The big problem is that the original window has security built into it so it must be called from the right referring url, but when Netscape reloads this parent window, it neglects to send the original referring url, so the original page is replaced with an error page as soon as the above link is clicked.
Is there any workaround for this, where either Netscape will not reload the original page, or if it does, at least not lose the referring url?
I'm using window.open to create a secondary window, and everything is working fine with that. My problem is that as soon as that window is opened, the parent window scrolls to the top of its page. So when the user closes the secondary window, they've lost their place in the parent document.
I have a member search component that I've built that uses AJAX to update results on search filter change.Each result has a link with it to add that member as a friend, when you click the link it fires a modal window (colorbox) with the member data and add and cancel buttons.
Everything seems to work ok, except you have to click the link twice for the modal to fire. Is there something I can do to prevent having to click this twice to load?
I am working on a project in which I have to open my flash demo in a modal window. I got all the code for modal window and it is working great.The only problem is I am not able to open a flash file in modal window.
I have a closed box system which opens an html page. The page closes by the system. I have access to the html page. I added code to open a child window from this page. However when the parent window closes, the child closes too. Is there a way to keep the child window open? Yes keep it orphaned.
I have a HTML and I am opening another link in a separate window using window.open() . The child window is something like 'http://yahoo.com' which is out side html. I need to refresh the parent window when the child window is closed.
I have a HTML page with pictures' thumbnails. After clicking on any thumbnail, I would like to open a new window with the original size picture. In the main window with thumbnails, I have got following important stuff: Code:
I wanted to know the property difference in a normal window and a modal window.
Situation :- I have a error page to be displayed. I want to display a different button on it if the window is modal. So for this i need a property that will distinguish between a normal window and modal window.
I tried to get the parent window using window.parent but it returns an object which i am not able to print (as to know what is coming).
I am trying to usw window.open , upload a file in the child window and then referesh the parent window. But once upload is done, window . opener .location.href or opener.location.replace sends a message back but I get a pop up blocker, so if I turn pop up blocker off, it opens in new page. I just want the parent page to refresh on the same window. This works on some employees stations but not on others..I don't know if there are any settings on IE that need to change, I tried everything...weird. does any one done this before?
I have a couple of utility windows - a calculator and a calendar that popup from my main window. I would like them to always stay in front of the parent window until they are shut down with there own close buttons. As it is, when you click back to the parent window, of course it comes in front of the child windows. Can I do this?
I'm using window.showModalDialog but having an issue trying to set the parent window(main browser). I open modal window A which is then opens modal window B, top of modal window B onload I do window.opener.close()". My issue now is when i'm finished with B I set parent window(main browser) to a new url with window.opener.location. So my problem is modal window A the parent has been closed so window.opener.location will not work.
Put a link on my page that will open an external site (over which I have no control) in a pop-up window. When the user closes the pop-up, I want my original page to redirect to another page. The difficulty I'm having is that I can't add any code to the page in the pop-up as it's not my site.
I'm relatively new to jQ and would like to determine if a named window is already open. If it is then I want to change focus to that window/tab. The scenario is this. I have a link in App1 that opens a new window to an already existing linked (related) web form in App2. If the user forgets they have that window open in App2 and clicks the same link in App1 as before (to open the related form in App2,) it opens a window that is not the same window as the original window. I need App1 to detect if a window already exists in the browser of the same name and if so, change the browser focus to it.
I have created and opened a child window called "checkwin" and have written some data to it. If the data is valid, I want the user to click on the 'CONFIRM' button on the child window, at which time I want the "submit()" function for the form on the parent window to be executed. If the data is invalid the user clicks on 'MODIFY' and I want focus to return to a field on the parent form. However, when I click on the "CONFIRM" or "MODIFY" buttons on the child window, nothing happens. Here is the code: