permaculture playing cards*
The moose likes HTML, CSS and JavaScript and the fly likes Popup window position to remain constant even after backend call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Popup window position to remain constant even after backend call" Watch "Popup window position to remain constant even after backend call" New topic
Author

Popup window position to remain constant even after backend call

Tina Desai
Ranch Hand

Joined: Mar 13, 2003
Posts: 365
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.

Regards,
Tina


Alongwith being a good coder, try to be a good professional as well!
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Popup window position to remain constant even after backend call
 
Similar Threads
Check if popup window is already open from parent window?
IE window closes/crashes when a popup is window is opened
Help on popup windows
Popup form, parent form
How to refresh the main window once we close the popup