站长资源网络编程

JS backgroundImage控制

整理:jimmy2026/8/6浏览2
简介复制代码 代码如下:function changeBgImage(obj){ obj.style.cssText="background:url('2.gif') no-repeat 2 3"; }
复制代码 代码如下:
function changeBgImage(obj){
obj.style.cssText="background:url('2.gif') no-repeat 2 3";
}