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

JSbackgroundImage控制_基础知识

代码如下:

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