當鼠標移上某圖時,想換成另一張圖,鼠標移開時又恢復原狀。代碼如下:
<img src="images/menu1-01.png" onMouseOver="this.src='images/menu1-02.png'" onMouseOut="this.src='images/menu1-01.png'"/>
Powered by: 博客园 Copyright © 2024 股墓山庄庄主 Powered by .NET 9.0 on Kubernetes