counter
counter
摘要: 1.CSS样式:background-color 。 javascript样式属性:style.backgroundColor。style还包括cssText属性,显示所有的样式。1.1:DOM样式的方法:odiv=document.getElementById("div1"); odiv.style.getPropertyvalue(css样式名) 返回样式名的值。 odiv.style.item(index) 返回index处的CSS样式名, 如:background-color 。 odiv.style.remove... 阅读全文
posted @ 2012-07-24 17:10 bfy 阅读(539) 评论(0) 推荐(0) 编辑