Hi Folks,
I am using the function below to open a page in a new window. I want to open the page up so that it is fullscreen - but with all menus, toolbars etc.
However, it is not opening fullscreen - for some users it only opens in a tiny window.
function loadCompany(compLink)
{
companyWin = window.open(compLink, "companyHome", "width=screen.availWidth,height=screen.availHeight,top=0,left=0,menubar=yes,toolbar=yes,status=yes,scrollbars=yes,titlebar=yes,resizable=yes");
companyWin.focus();
}
I have tried using screen.height and screen.width but that doesn't work either. Any advice.
Mighty
I am using the function below to open a page in a new window. I want to open the page up so that it is fullscreen - but with all menus, toolbars etc.
However, it is not opening fullscreen - for some users it only opens in a tiny window.
function loadCompany(compLink)
{
companyWin = window.open(compLink, "companyHome", "width=screen.availWidth,height=screen.availHeight,top=0,left=0,menubar=yes,toolbar=yes,status=yes,scrollbars=yes,titlebar=yes,resizable=yes");
companyWin.focus();
}
I have tried using screen.height and screen.width but that doesn't work either. Any advice.
Mighty