输入banner图图片脚本导航/分类

JS backgroundImage控制

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