Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

window.open on second monitor

window.open('branchMonitoring/', 'Testing Dual Monitor', 'resizable=1, scrollbars=1, fullscreen=0, height=200, width=650, screenX=0 , left=1280, toolbar=0, menubar=0, status=1');

I used this code to open a new window on second monitor but the new window still opens on first monitor and cannot exceed the first monitor's boundary. I tried to change "left" to a higher value but still no luck.

Please help me brothers. i am using latest google chrome browser and using windows 8 dual monitor.

Please do note that this solution works for me when using FireFox browser. But I need to get it work on chrome.

like image 996
boi_echos Avatar asked Feb 10 '14 08:02

boi_echos


People also ask

How do I get a window to open on a specific monitor?

1] Move apps to the desired monitor To do so, open the app on your computer first. Then, drag or move it to the desired monitor you want to open it on. Following that, close the app by clicking the Close or red cross button. After that, it will open on the last opened monitor all the time.

How do I change what opens on my second monitor?

Hold down the windows key and use the cursors to move the window around where you want it. If it's on the left monitor and you want it on the right, hold down windows key + press right arrow key and it'll shift across the screen.


1 Answers

After doing many researches, I found some remedy. Some are saying that this is a bug on chrome.

please refer too this link. https://stackoverflow.com/a/17972796/2276894

And also if you are targeting to create an admin/internal application, you can try Chrome App. It offers functions like, window.create() with position parameters. You can control the position of the windows you created. Remember that you have to install the Chrome App you created in user's browser, just like in extensions.

like image 115
boi_echos Avatar answered Sep 17 '22 14:09

boi_echos