+ -
当前位置:首页 → 问答吧 → this.background的兼容性问题

this.background的兼容性问题

时间:2011-07-28

来源:互联网

onmouseover="this.background='images/menubgred.jpg'" onmouseout="this.background=''"在IE下面是正常的,但是换了不是IE内核的浏览器就不正常了,肯定是兼容性的问题,应该怎么写才能通用呢??求解

作者: bug810   发布时间: 2011-07-28

高手们,求解啊!

作者: bug810   发布时间: 2011-07-28

onmouseover="this.style.background='images/menubgred.jpg'" onmouseout="this.style.background=''"
试试看

作者: aspwebchh   发布时间: 2011-07-28