 |
|
 |
Record 8: Detecting Display Settings
var resX=System.capabilities.screenResolutionX;
var resY=System.capabilities.screenResolutionY;
var winw=200;
var winH=600;
var winX=(resX/2)-(winW/2);
var winY=(resY/2)-(winH/2);
var jscode="javaScript:void(newwin=window.open('http://www.yahoo.com',"+"'newwindow','width="+winW+",height="+winH+","+"left="+winX+",top="+winY+"'));";
_root.getURL(jscode); |
|
 |
|
 |
|
|
|