Hi,
I have a JS link to open a full size pop up using this function:
function fullWindow(url) {
var str = "left=0,screenX=0,top=0,screenY=0,status=yes, menubar=yes, location=yes, toolbar=yes, scrollbars=yes, resizable=yes, ";
if (window.screen) {
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;
str += ",height=" + ah;
str += ",innerHeight=" + ah;
str += ",width=" + aw;
str += ",innerWidth=" + aw;
}
win=window.open(url, "w", str);
}
But it does not maximize the window, so sometimes the links which are at the bottom are only visible once you maximize.
How can I alter the function to ensure window is mazimized, or how can I force the opened window to maximize?
For an example go here:
Scroll to the bottom and click on the link 'causes of a sinus tachycardia'
Thanks.
I have a JS link to open a full size pop up using this function:
function fullWindow(url) {
var str = "left=0,screenX=0,top=0,screenY=0,status=yes, menubar=yes, location=yes, toolbar=yes, scrollbars=yes, resizable=yes, ";
if (window.screen) {
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;
str += ",height=" + ah;
str += ",innerHeight=" + ah;
str += ",width=" + aw;
str += ",innerWidth=" + aw;
}
win=window.open(url, "w", str);
}
But it does not maximize the window, so sometimes the links which are at the bottom are only visible once you maximize.
How can I alter the function to ensure window is mazimized, or how can I force the opened window to maximize?
For an example go here:
Scroll to the bottom and click on the link 'causes of a sinus tachycardia'
Thanks.