摘要:
<!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
阅读(161)
评论(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
阅读(230)
评论(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
阅读(247)
评论(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
阅读(484)
评论(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
阅读(528)
评论(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
阅读(188)
评论(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
阅读(144)
评论(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
阅读(176)
评论(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
阅读(142)
评论(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
阅读(410)
评论(0)
推荐(0)

浙公网安备 33010602011771号