function getInfo()
{
var s = "";
s += " 網(wǎng)頁可見區(qū)域?qū)挘?+ document.body.clientWidth;
s += " 網(wǎng)頁可見區(qū)域高:"+ document.body.clientHeight;
s += " 網(wǎng)頁可見區(qū)域?qū)挘?+ document.body.offsetWidth + " (包括邊線和滾動條得寬)";
s += " 網(wǎng)頁可見區(qū)域高:"+ document.body.offsetHeight + " (包括邊線得寬)";
s += " 網(wǎng)頁正文全文寬:"+ document.body.scrollWidth;
s += " 網(wǎng)頁正文全文高:"+ document.body.scrollHeight;
s += " 網(wǎng)頁被卷去得高(ff):"+ document.body.scrollTop;
s += " 網(wǎng)頁被卷去得高(ie):"+ document.documentElement.scrollTop;
s += " 網(wǎng)頁被卷去得左:"+ document.body.scrollLeft;
s += " 網(wǎng)頁正文部分上:"+ window.screenTop;
s += " 網(wǎng)頁正文部分左:"+ window.screenLeft;
s += " 屏幕分辨率得高:"+ window.screen.height;
s += " 屏幕分辨率得寬:"+ window.screen.width;
s += " 屏幕可用工做區(qū)高度:"+ window.screen.availHeight;
s += " 屏幕可用工做區(qū)寬度:"+ window.screen.availWidth;
s += " 你得屏幕設(shè)置是 "+ window.screen.colorDepth +" 位彩色";
s += " 你得屏幕設(shè)置 "+ window.screen.deviceXDPI +" 像素/英寸";
alert (s);
}
function myunload(){
if((event.clientX>(window.screen.width-30)) && (event.clientY<0) ||event.altKey){
DataLoad.src = 'http://"
event.returnValue='感謝您的積極參與。';
}
}