OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

PHPStorm - change the position of a pop-up window to open on another monitor

  • Thread starter Thread starter Programming_Sloth
  • Start date Start date
P

Programming_Sloth

Guest
I'm new to programming in php and I have got a problem with the pop-up window of my website.

There is a button that opens a pop-up window, and in the process, it generates a pdf-file in the new opened window. The problem that I have is, that the pop-up window does not stay on the other screen. I'm working with a dual monitor setup and the pop-up always appears on the screen, where the main browser is opened on.

If the main browser tab is opened on the left screen, I want the pop-up to always show on the right side on the position, where I dragged it to and vice versa. I just can't get it to work propperly and I have high hopes, that someone here could help me out with this problem.

Thanks in advance and have a great day!

I tried to add values to the window screen width and the screen top. I asked ChatGPT about the problem but could not get a working answer, even with providing my code.

<p>I'm new to programming in php and I have got a problem with the pop-up window of my website.</p>
<p>There is a button that opens a pop-up window, and in the process, it generates a pdf-file in the new opened window. The problem that I have is, that the pop-up window does not stay on the other screen. I'm working with a dual monitor setup and the pop-up always appears on the screen, where the main browser is opened on.</p>
<p>If the main browser tab is opened on the left screen, I want the pop-up to always show on the right side on the position, where I dragged it to and vice versa. I just can't get it to work propperly and I have high hopes, that someone here could help me out with this problem.</p>
<p>Thanks in advance and have a great day!</p>
<p>I tried to add values to the window screen width and the screen top.
I asked ChatGPT about the problem but could not get a working answer, even with providing my code.</p>
 
Top