会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
しovのんeТs
しovのんeТs → 多一份坚持,多一份自信,便能做自己想做的人,做好自己想做的事!
新随笔
管理
鼠标经过表格变色
<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"
>
<
head
>
<
title
>
Untitled Document
</
title
>
<
meta
http-equiv
="Content-Type"
content
="text/html; charset=gb2312"
>
</
head
>
<
SCRIPT
LANGUAGE
="JavaScript"
defer
>
<!--
function
runChgbgColor(TabID)
{
var
obj
=
null
;
function
ChgbgColor(TabID)
{
var
oRows
=
document.all(TabID).all.tags(
"
TR
"
);
for
(
var
i
=
0
;i
<
oRows.length;i
++
)
{
oRows[i].onmouseover
=
function
()
{
this
.bgColor
=
"
#FF9966
"
;}
oRows[i].onmouseout
=
function
()
{
this
.bgColor
=
"
#FFFFFF
"
;}
}
}
ChgbgColor(TabID);
}
//
-->
</
SCRIPT
>
<
table
onMouseover
="runChgbgColor('MtvTab')"
id
="MtvTab"
style
="BORDER-COLLAPSE: collapse"
cellSpacing
=0
cellPadding
=0
width
=50%
bgColor
=#ffffff
border
=1
>
<
tr
>
<
td
height
=20
>
1
</
td
>
<
td
height
=20
>
2
</
td
>
</
tr
>
<
tr
>
<
td
height
=20
></
td
>
<
td
height
=20
></
td
>
</
tr
>
</
table
>
posted @
2006-11-19 21:32
しovのんeТs
阅读(
542
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部