<!DOCTYPE html>
<html>
<head>
<title>BOM--浏览器对象模型</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script type="text/javascript">
function resizeWindow(){
window.resizeTo(500, 300)
}
</script>
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
</head>
<body>
<pre class="brush:php;toolbar:false;">
BOM:把浏览器窗口封装成对象模型,供js进行访问。最重要的一个对象是:window
以上就是第2篇快速入门 —js基础实战BOM--浏览器对象模型、DOM的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号