PDA

View Full Version : Window Resize w/o using window.open


Rickard19
02-17-2003, 07:26 AM
Hello,

I recently found this code on a site that I was visiting and it got rid of the status bar, or made the window move over the status bar. I was just curious if this code can be manipulated to cover everything to the title bar of a webpage with out using a window.open function to define your window property.

<head>
<script language="JavaScript" type="text/JavaScript">
function show_taskbar() {
window.parent.resizeTo(screen.width-2, screen.height-2);
window.parent.moveTo(1, 1);
window.parent.resizeTo(screen.width, screen.height);
window.parent.moveTo(0, 0);
}
show_taskbar();
</script>
</head>

Any Help would be greatly appriciated

Rich

beetle
02-17-2003, 05:59 PM
No, it can't.

Rickard19
02-17-2003, 08:48 PM
Hello,

Thanks a Bunch, was just curious if it could be done :).

Have a good week

Rich