九门宁生

导航

上一页 1 2 3 4 5 6 7 ··· 12 下一页

2019年8月27日 #

bom-简单动画

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> body { margin: 0; } #box { position: relative; background-color: red; width: 100px; height: 100px; } </st 阅读全文

posted @ 2019-08-27 17:10 九门宁生 阅读(214) 评论(0) 推荐(0)

bom-倒计时

摘要: common中的代码 阅读全文

posted @ 2019-08-27 14:41 九门宁生 阅读(315) 评论(0) 推荐(0)

bom-setInterval

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <input type="button" value="开始" id="btn1"> <input type="button" value="取消&qu 阅读全文

posted @ 2019-08-27 14:33 九门宁生 阅读(150) 评论(0) 推荐(0)

bom-删除提示

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> body { margin: 0; padding: 0; } #tip { width: 150px; height: 30px; background-color: lightgray; opacity: 阅读全文

posted @ 2019-08-27 13:56 九门宁生 阅读(159) 评论(0) 推荐(0)

bom-setTimeout

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <input type="button" value="开始" id="btn1"> <input type="button" value="取消&qu 阅读全文

posted @ 2019-08-27 13:55 九门宁生 阅读(157) 评论(0) 推荐(0)

bom-页面加载事件

摘要: Document 阅读全文

posted @ 2019-08-27 13:36 九门宁生 阅读(290) 评论(0) 推荐(0)

bom-对话框

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <input type="button" value="alert" id="btn1"> <input type="button" value="pr 阅读全文

posted @ 2019-08-27 13:30 九门宁生 阅读(161) 评论(0) 推荐(0)

window对象

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <script> // 当我们是用window的成员的时候,window可以省略 // window.document // window.alert('hello'); // 定义的全局变量都属 阅读全文

posted @ 2019-08-27 13:23 九门宁生 阅读(106) 评论(0) 推荐(0)

bom详解

摘要: BOM的概念 BOM(Browser Object Model) 是指浏览器对象模型,浏览器对象模型提供了独立于内容的、可以与浏览器窗口进行互动的对象结构。BOM由多个对象组成,其中代表浏览器窗口的Window对象是BOM的顶层对象,其他对象都是该对象的子对象。 我们在浏览器中的一些操作都可以使用B 阅读全文

posted @ 2019-08-27 10:46 九门宁生 阅读(524) 评论(0) 推荐(0)

键盘事件

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script> </script> </head> <body> <input id="txt" type="text"> <script> // 键盘事件 // keydown 键盘按下的时候 // 阅读全文

posted @ 2019-08-27 10:19 九门宁生 阅读(151) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 12 下一页