鼠标移上和取开的效果

Original 2019-05-22 15:32:29 164
abstract:<html><head><script type="text/javascript">function mouseOver()  {  document.b1.style.background ="skyblue"  }function mouseOut()  {  &nb

<html>
<head>
<script type="text/javascript">
function mouseOver()
 {
 document.b1.style.background ="skyblue"
 }
function mouseOut()
 {
  document.b1.style.background ="green"  }
</script>
</head>

<body>
<a href=""  target="_blank">
<img border="0"" name="b1" onmouseOver="mouseOver()"
onmouseOut="mouseOut()" />
</a>
</body>
</html>


属性需要对单词进行理解,结合函数实现自己需要的效果,常用的onload、onmouseover、onclick等要记熟;

Correcting teacher:查无此人Correction time:2019-05-23 13:18:42
Teacher's summary:完成的不错。每行js和jq语句结束增加;号。继续加油

Release Notes

Popular Entries