A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Popup window position to remain constant even after backend call
Joined: Mar 13, 2003
Oct 17, 2006 05:07:00
I have a popup window opening. There is one search also happening in the popup window.
When I open the page, I have some attributes defined like dialogHeight and width etc.
If I change the window position, and then do the search, when the page is loaded again with the result again, the window moves to its original position.
This being a help window, I want that it stays in the location user has adjusted it to. Like to the right hand side like we have the word help opening.
Thanking you in anticipation.
Alongwith being a good coder, try to be a good professional as well!
Joined: Nov 08, 2001
Oct 17, 2006 06:15:00
That is a browser behavior based on the user's computer. How to fix it? Only thing I can suggest is you would have to remember where the user moved it tp, set a cookie, when that window loads again check a cookie value and move it there.
I agree. Here's the link:
subject: Popup window position to remain constant even after backend call
Help on popup windows
How to refresh the main window once we close the popup
IE window closes/crashes when a popup is window is opened
Popup form, parent form
Check if popup window is already open from parent window?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014