<%@ page language="java" import="java.util.*" pageEncoding="gbk"%> <html> <head> <script> function check(obj){ obj.title=obj.innerText; obj.innerText=obj.alt; obj.alt=obj.title; } </script> </head> <body> <a id="re" onmouseover="check(this)" onmouseout="check(this)" alt="新闻">News</a> <a id="re" onmouseover="check(this)" onmouseout="check(this)" alt="产品">Products</a> <a id="re" onmouseover="check(this)" onmouseout="check(this)" alt="其它">Other</a> </body> </html> </body> </html>
?