鼠标移上去切换背景色

法一:onMouseOver=this.style.backgroundColor='#C6E3FF'   onMouseOut=this.style.backgroundColor='#FFFFFF'

法二:onMouseOver="this.bgColor='#d2d2d2'"   onMouseOut="this.bgColor='#f8f8f8'"

posted @ 2009-06-15 13:41  .NET钉子户  阅读(305)  评论(0)    收藏  举报