中文(简体)
<!-- 把如下代码加入<body>区域中--> <style> <!-- .initial2{font-weight:bold;background-color:lime} //--> </style> <script> <!-- function change(color){ var el=event.srcElement if (el.tagName=="INPUT"&&el.type=="button") event.srcElement.style.backgroundColor=color } function Jumpto2(url) { window.location=url } //--> </script> <form onMouseover="change('yellow')" onMouseout="change('lime')"> <input type="button" value="新浪" class="initial2" onClick="jumpto2('http://sina.com.cn')"> <input type="button" value="搜狐" class="initial2" onClick="jumpto2('http: //搜狐网')"> </form>