上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 21 下一页
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script> window.onload = function(){ document.onkeydown = function(ev){ var oEven 阅读全文
posted @ 2016-03-12 15:12 mingjixiaohui 阅读(155) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #div1{ width: 100px; height: 100px; background: red; posi 阅读全文
posted @ 2016-03-12 15:12 mingjixiaohui 阅读(223) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> div{ width: 10px; height: 10px; background: red; position 阅读全文
posted @ 2016-03-12 14:33 mingjixiaohui 阅读(243) 评论(0) 推荐(0) 编辑
摘要: function getPos(ev) { var scrollTop = document.documentElement.scrollTop || document.body.scrollTop; var scrollLeft = document.documentElement.scrollL 阅读全文
posted @ 2016-03-12 14:01 mingjixiaohui 阅读(467) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #div1{ width: 200px; height: 200px; background: red; posi 阅读全文
posted @ 2016-03-12 13:40 mingjixiaohui 阅读(510) 评论(1) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #div1{ width: 400px; height: 300px; background: red; disp 阅读全文
posted @ 2016-03-12 13:28 mingjixiaohui 阅读(182) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> </head> <script> window.onload = function(){ document.onclick = function(ev){ / 阅读全文
posted @ 2016-03-12 12:29 mingjixiaohui 阅读(136) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <script> window.onload = function(){ //document 的子节点 高版本浏览器中包括空格所以弹undefi 阅读全文
posted @ 2016-03-12 12:17 mingjixiaohui 阅读(172) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <script> window.onload = function(){ var oTab = document.getElementById(" 阅读全文
posted @ 2016-03-12 12:03 mingjixiaohui 阅读(139) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <script> window.onload = function(){ var oTab = document.getElementById(" 阅读全文
posted @ 2016-03-12 11:41 mingjixiaohui 阅读(388) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 21 下一页