标签:java color width javascript window type
<script type="text/javascript" language="javascript">
document.write("屏幕的宽度:"+window.screen.width+"<br>");
document.write("屏幕有效的宽度:"+window.screen.availWidth+"<br>");
document.write("屏幕的高度:"+window.screen.height+"<br>");
//屏幕有效的高度=屏幕的高度-任务栏的高度
document.write("屏幕有效的高度:"+window.screen.availHeight+"<br>");
document.write("屏幕颜色深度:"+window.screen.colorDepth+"<br>");
</script>
标签:java color width javascript window type
原文地址:http://www.cnblogs.com/danmao/p/3819166.html