摘要:
Navigator即浏览器对象,提供浏览器相关的信息 <script type="text/javascript"> document.write("<p>浏览器产品名称:"); document.write(navigator.appName + "</p>"); document.write(" 阅读全文
posted @ 2020-07-24 08:47
Jasper2003
阅读(97)
评论(0)
推荐(0)
摘要:
BOM即 浏览器对象模型(Browser Object Model)浏览器对象包括Window(窗口)Navigator(浏览器)Screen (客户端屏幕)History(访问历史)Location(浏览器地址)本章节从 Window(窗口)开始讲起 示例 1 : 获取文档显示区域的高度和宽度 示 阅读全文
posted @ 2020-07-24 08:37
Jasper2003
阅读(139)
评论(0)
推荐(0)
摘要:
在JavaScript中可以自定义对象,添加新的属性,添加新的方法 示例 1 : 通过new Object创建对象 通过new Object()创建一个对象 <script> var hero = new Object(); hero.name = "盖伦"; //定义一个属性name,并且赋值 h 阅读全文
posted @ 2020-07-24 08:08
Jasper2003
阅读(142)
评论(0)
推荐(0)
摘要:
Math是JavaScript的工具对象,用于常见的数学运算 步骤 1 : 自然对数和圆周率 属性E PI,分别表示自然对数和圆周率PI <script> document.write(Math.E); document.write("<br>"); document.write(Math.PI); 阅读全文
posted @ 2020-07-24 08:01
Jasper2003
阅读(115)
评论(0)
推荐(0)
摘要:
STEP 1: Reading Read Chapter 15 in your textbook. . . STEP 2: Globalization of Religion Look through these slides. There is no sound but they will hel 阅读全文
posted @ 2020-07-24 06:22
Jasper2003
阅读(322)
评论(0)
推荐(0)

浙公网安备 33010602011771号