当前位置:首页 >> 网络编程

JS backgroundImage控制

复制代码 代码如下:
function changeBgImage(obj){
obj.style.cssText="background:url('2.gif') no-repeat 2 3";
}