Jump to content

Popup window that retains its adjusted size


pault

Recommended Posts

I hope someone can help me with this or point towards a published code.

 

I have a PHP page which displays a list summarising database records. When users click on an icon, another window pops up with further information from the record. They can keep clicking through the list, showing each new record in the SAME popup window.

 

Obviously when the popup first appears, the window must be sized to fit within the user's screen and also to one side so that people can still see the main list. But if they resize the window (maybe because they have a very large screen), I want each new display of the window to retain the user's new size.

 

To summarise, the first time the window opens, its dimensions are set to a default size (based on screen size), but from then on it retains the user-defined size.

 

Thanks in advance.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.