摘要: function moveElement(elementID,final_x,final_y,interval) { if (!document.getElementById) return false; if (!document.getElementById(elementID)) return 阅读全文
posted @ 2016-01-30 23:55 讨厌吃香菜 阅读(426) 评论(0) 推荐(0) 编辑
摘要: function styleElementSiblings(tag,theclass){ if (!document.getElementsByTagName)return false; var elems=document.getElementsByTagName(tag); var elem; 阅读全文
posted @ 2016-01-30 17:31 讨厌吃香菜 阅读(145) 评论(0) 推荐(0) 编辑
摘要: function addLoadEvent(func){ var oldonload=window.onload; if(typeof window.onload !='function'){ window.onload=func; }else{ window.onload=function(){ 阅读全文
posted @ 2016-01-26 22:44 讨厌吃香菜 阅读(139) 评论(0) 推荐(0) 编辑
摘要: nodeType属性:元素节点的nodeType属性值为1;属性节点的nodeType属性值为2;文本节点的nodeType属性值为2;图片库快照 冰女 海民 小娜迦 选择一个图片function prepare... 阅读全文
posted @ 2016-01-26 02:00 讨厌吃香菜 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 元素 placeholder 属性 阅读全文
posted @ 2016-01-19 23:08 讨厌吃香菜 阅读(94) 评论(0) 推荐(0) 编辑