首页 > 编程 > JavaScript > 正文

JS backgroundImage控制

2019-11-21 01:21:45
字体:
来源:转载
供稿:网友
复制代码 代码如下:

function changeBgImage(obj){
obj.style.cssText="background:url('2.gif') no-repeat 2 3";
}
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表