实现代码如下:

function changeBgImage(obj){
obj.style.cssText="background:url('2.gif') no-repeat 2 3";
}

以上就是【JS backgroundImage控制】的全部内容了,欢迎留言评论进行交流!

赞(0) 踩(0)
发表我的评论

最新评论

  1. 暂无评论