I am creating a private web app for somebody using a three screen layout.
I would like to be able to open certain links in a new window on the left screen and others in a new window on the right screen (with the centre one as the main screen).
This can be accomplished rather easily in Firefox (as long as the main screen isn't massively larger than the others) by opening the new window to the left or right of the main screen and maximizing the window.
function openRight()
{
var rightWindow = window.open(myURL,'TestRight','left='+window.screen.width+',top=0,fullscreen=yes');
rightWindow.focus();
}
function openLeft()
{
var leftWindow = window.open(myURL,'TestLeft','left='+(-window.screen.width)+',top=0,fullscreen=yes');
leftWindow.focus();
}
IE and Chrome, however, do not allow negative values for coordinates, preventing the left screen window from opening on the correct screen.
Does anybody know of a way to do this in any browser other than Firefox (even ones I haven't listed)?