|
会变色的按钮
第一步:复制下面的代码到你的html文件的 <head> 和 </head> 之间
|
|
<script language="javascript"> |
| 第二步:复制下面的代码到 html 文件的 <body> 和 </body> 之间任何需要添加变色按钮的地方; |
| <form name="form2" onmouseover="highlightButton('start')"
onmouseout="highlightButton('')"> <center><p> <input type="button" value="按这里试试" name="B2" onclick="tell()"></p> </form> |
| 使用说明:将其中红字的内容改为你自己的就可以了。 |