主题:  怎样做出鼠标经过文字翻转效果

gxhctj

职务:普通成员
等级:1
金币:2.0
发贴:178
注册:2003/2/12 16:44:13
#12004/9/12 0:44:51
就像图片翻转效果一样,当鼠标经过时显一颜色条,效果如
cn.bbs.yahoo.com/mb/?product=ent&action=3&tid=40&mid=94894&ct=1



风之密码

职务:普通成员
等级:2
金币:2.0
发贴:398
注册:2003/6/30 22:41:21
#22004/9/13 9:46:26
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>鼠标移动有色条</title>
</head>

<body>

<script language="JavaScript">
<!--
function sbar(st) {
 st.style.backgroundColor = "#ffffcc";
}
function cbar(st) {
 st.style.backgroundColor = "";
}
 -->
</script>
<table width="750" border="0" cellspacing="0" cellpadding="2" height="100">
	<tr onmouseout="cbar(this)" onmouseover="sbar(this)">
		<td style="border-style: solid; border-width: 1px"></td>
	</tr>
</table>

</body>

</html>