mattym
10-24-2003, 04:55 PM
Hi there, I am using the following javascript function to resize and position a window when opened (using the onLoad to call the function)
function positionWindow()
{
theScreen = window.screen;
window.moveTo((theScreen.width/2)-400,(theScreen.height/2)-300);
window.resizeTo(800,600);
window.focus();
}
My question is: how do I add to this code to take off the status bar, scrolls, menu bar, address bar etc...
many thanks for any help
Matt
function positionWindow()
{
theScreen = window.screen;
window.moveTo((theScreen.width/2)-400,(theScreen.height/2)-300);
window.resizeTo(800,600);
window.focus();
}
My question is: how do I add to this code to take off the status bar, scrolls, menu bar, address bar etc...
many thanks for any help
Matt