<html> <head> <script type="text/javascript"> function mouseOver() { document.b1.src ="images/b_blue.gif" } function mouseOut() { document.b1.src ="images/b_pink.gif" } </script> </head> <body> <a href="http://www.RuanChen.com" target="_blank" onmouseover="mouseOver()" onmouseout="mouseOut()"> <img border="0" alt="欢迎来到RuanChen" src="images/b_pink.gif" name="b1" width="26" height="26" /></a> </body> </html>
编辑上面的文字,按下“查看结果”,效果会显示在右边 Create by 软晨网(RuanChen.com)