• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Popup window position to remain constant even after backend call

 
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Forget Steve. Look at this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic