摘要:
function getStyle(obj, name) { if (obj.currentStyle) { return obj.currentStyle[name]; } else { return getComputedStyle(obj, false)[name]; } } //startM 阅读全文
posted @ 2020-02-17 17:07
八风不动
阅读(178)
评论(0)
推荐(0)
摘要:
js基础 js笔记散记,只是为了方便自己以后可以回看用的: 1、所有用 “点” 的都能 “[]” 代替 odiv.style.color odiv['style'].color odiv['style'][color] document['getElementById'].('div1') 2、st 阅读全文
posted @ 2020-02-17 15:44
八风不动
阅读(135)
评论(0)
推荐(0)
摘要:
function getStyle(obj, name) { if (obj.currentStyle) { return obj.currentStyle[name]; } else { return getComputedStyle(obj, false)[name]; } } function 阅读全文
posted @ 2020-02-17 10:15
八风不动
阅读(236)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html> <html> <head> <title></title> <meta charset="utf-8" /> <script src="move.js" > function getByClass(oparent, sClass) { var aEle = opare 阅读全文
posted @ 2020-02-17 10:14
八风不动
阅读(162)
评论(0)
推荐(0)

浙公网安备 33010602011771号