JS浏览器对象-Screen对象

JS浏览器对象-Screen对象

代码:

 <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>uvi</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<script>
document.write("可用高度:"+screen.availHeight+",可用宽度:"+screen.availWidth);
document.write("高度:"+screen.height+",宽度:"+screen.width);
</script> </body>
</html>
上一篇:Gradle sync failed: SSL peer shut down incorrectly


下一篇:11G新特性 -- ASM的兼容性