$S.addHandler($S.getId(fav[i]),‘mouseover‘,function(){
this.className += " "+‘S_hover‘;
});
$S.addHandler($S.getId(fav[i]),‘mouseout‘,function(){
var reg = new RegExp(‘(\\s|^)‘+‘S_hover‘+‘(\\s|$)‘);
this.className=this.className.replace(reg,‘ ‘);
});
时间: 2024-10-11 06:51:27