摘要:
做这么一个效果 鼠标单击某个名字后变色,没选中的鼠标移动上去变色 首先布局这个效果,然后给每个表格添加单击事件onclick、鼠标放上事件onmousemove、鼠标移出事件onmouseout 容易把这几个事件弄混 因为是class名 所有onclick="Dian(this)" onmousem 阅读全文
posted @ 2017-10-26 23:17
navyyouth
阅读(144)
评论(0)
推荐(0)
摘要:
一查找元素 1、找元素 <script type="text/javascript"> </script> id查找 document.getElementById("id名字"); 根据class找 document.getElementsByClassName("class名字"); 根据标签名 阅读全文
posted @ 2017-10-26 11:29
navyyouth
阅读(281)
评论(0)
推荐(0)
浙公网安备 33010602011771号