这是把事件动作绑定到菜单上的函数
*/
function attachxmenu(objid){
var tds=objid.getelementsbytagname('td');
for(var i=0;i with(tds[i]){
onmouseover=function(){
with(this){
filters[0].apply();
style.background='#66ccff'; //这是鼠标移上去时的背景颜色
style.border='1px solid #ffffff'; //边框
style.color='black'; //文字颜色
filters[0].play();
}
}
onmouseout=function(){
with(this){
filters[0].apply();
style.background='#336699'; //这是鼠标离开时的背景颜色
style.border='1px solid #336699'; //边框
style.color='#ffffff'; //文字颜色
filters[0].play();
}
}
}
}
}
www.lenvo.cn
name
is
lex
rus
!!!
my
name
is
lex
rus
!!!