JS代碼: <script type="text/javascript"> var img1 = new Image(); img1.src="img/快速通道.png"; var img2 = new Image(); img2.src ="img/快速通道-效果2.png"; var img3 = new Image(); img3.src ="img/我的云盤.png"; var img4 = new Image(); img4.src ="img/我的云盤-效果2.png"; var img5 = new Image(); img5.src ="img/詳細配置.png"; var img6 = new Image(); img6.src ="img/詳細配置-效果2.png"; </script> HTML代碼: <table> <tr><td><a href="right1.php" target="view" > <img src="img/快速通道.png" onMouseover="this.src=img2.src" onMouseout="this.src=img1.src" style=" border:0" width="210px"></a></td></tr> <tr><td><a href="right2.php" target="view"><img src="img/我的云盤.png" onMouseover="this.src=img4.src" onMouseout="this.src=img3.src" style=" border:0" width="210px"></a></td></tr> <tr><td><a href="right3.php" target="view"><img src="img/詳細配置.png" onMouseover="this.src=img6.src" onMouseout="this.src=img5.src" style=" border:0" width="210px"></a></td></tr> </table> |
|