案例:javascript案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<body>
3
4
<img src="/img/eg_mouse2.jpg" name="mousetest"> 
5
6
<p onmousemove="document.images['mousetest']
7
.src='/img/eg_mouse.jpg'">When you move the mouse pointer over this paragraph, the image changes.</p>
8
9
</body>
10
</html>