3
I have a scenario where two vertically extended Tvs are used to display a list of orders. I’m trying to open a popup that gets the full screen size of the two Tvs, but even putting the height as 3840px the popup only opens by filling the first screen. Any suggestions?
function popitup(a) {
window.open(a,'open_window','height=3840, left=1, location=no, menubar=no, resizable=yes, scrollbars=yes, status=no, titlebar=no, toolbar=no, top=1, width=1080,fullscreen=yes');}
The application itself uses java with spring mvc and Thymeleaf on the front end. The above is javascript to open the popup.
Tip: make a windows application. You’ll have a lot more control and can do things a web application can’t. It is much easier to play with multiscreens too.
– Oralista de Sistemas
Utilize
window.innerWidth
– Valdeir Psr
window.innerWidth and window.innerheight only return the size of one of the screens and not the total of the two.
– ronssm