ChrisQuick
Programmer
I want to check the current width and heigth of the browser window and resize to fullscreen (if the user aggrees to it).
This works in NS, but not IE. Any ideas why?
cquick@geotg.com
Geographic Information System (GIS), ASP, some Oracle
This works in NS, but not IE. Any ideas why?
Code:
<SCRIPT TYPE="text/javascript" language="JavaScript">
function Maximum(){
if (window.outerWidth != screen.width){
if (confirm("Is it OK to resize this browser window to fullscreen?")){
window.moveTo(0,0);
window.resizeTo(screen.width,screen.height-25);
}
}
}
</SCRIPT>
Geographic Information System (GIS), ASP, some Oracle