Hi there,
I'm trying to open up a link in the center of the screen but i'm not sure how to edit the below code to work...
Basically the windo opes at the correct height and width as a pop up, i just need it centered in the screen...
Any help would be massively appreciated...
Thank you
Regards
SWM
function showDialog(URL, width, height)
{id = window.open(URL, "" " location=no,statusbar=yes,status=yes,scrollbars=yes,menubar=no,toolbar=no,directories=no,resizable=yes,width=" + width + ",height=" + height);
}
I'm trying to open up a link in the center of the screen but i'm not sure how to edit the below code to work...
Basically the windo opes at the correct height and width as a pop up, i just need it centered in the screen...
Any help would be massively appreciated...
Thank you
Regards
SWM
function showDialog(URL, width, height)
{id = window.open(URL, "" " location=no,statusbar=yes,status=yes,scrollbars=yes,menubar=no,toolbar=no,directories=no,resizable=yes,width=" + width + ",height=" + height);
}