有什么问题请到<a href='/bbs/forums.php?fid=21'>论坛</a>中发表<br>
<!--# 特效来源:http://www.webjx.com/js -->
<!--把如下代码加入<body>区域中-->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function doColor(item, color, bg) {
item.style.color = color; // changes text color
item.style.backgroundColor = bg; // changes background
}
function undoColor(item) {
item.style.color = "#000000"; // sets color back to black
item.style.backgroundColor = ""; // sets background to default
}
// End -->
</script>
<a name="link1" href="http://www.internet.com/" onmouseover="doColor(link1, 'yellow','black');" onmouseout="undoColor(link1);">internet.com</a>
<p>
<a name="link2" href="http://www.webjx.com/" onmouseover="doColor(link2, 'blue','red');" onmouseout="undoColor(link2);">www.webjx.com</a>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]