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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.