obj.style.background="red"
obj.style.backgroundImage="url('test.gif')"
obj.style.color="red"
obj.style.backgroundImage="url('test.gif')"
obj.style.color="red"
解决方案 »
- 求救!急!json从数据库读取数据。
- div onblur tabindex 同用,为什么会出现虚线?如何解决?求教!
- webqq 源码送
- js获取文本框ID
- 如何在提交完网页后,保留哪个radio被选中?
- 请问javascript用什么函数取一个数值的整数和小数点后面的部分,急用,在线等,谢谢
- 怎样通过代码控制框架中的页面上下滚动
- 实现翻页功能!!!
- 请我各位,可不可以用javascript实现PHP+mysql的功能,该怎么实现?谢谢
- 求教关于ckeditor编辑器段落间隔的问题
- 求助:怎样在web页面里面根据excel文件名动态的显示excel文件?
- [急求!]一段JAVA小程序!!快!!!!!!!!!!!!!!!!
<style>
.a {background-color:#ff0000;background-image:url('text.gif'); color:#0000ff}
.b {background-color:#0000ff;background-image:url('text2.gif');color:#ff0000}
</style>
<div class=a onmouseover="this.className='b'" onmouseout="this.className='a'">
......
</div>