JavaScriptで画面サイズを変更するサンプルコード
JavaScriptコード:
function winResize(){
var ToH=525;
var ToW=700;
if(window.navigator.appName=="Netscape"){ //firefox
window.innerHeight=ToH;
window.innerWidth=ToW;
}else{//ie
var cWinwidth=window.document.documentElement.clientWidth;
var cWinheight=window.document.documentElement.clientHeight;
window.resizeBy(ToW-cWinwidth,ToH-cWinheight);
cWinwidth=window.document.documentElement.clientWidth;
cWinheight=window.document.documentElement.clientHeight;
window.resizeBy(ToW-cWinwidth,ToH-cWinheight);
}
}