写一个图片的onmouseup的事件函数
点那张图片
div层的背景就边换成那张图片
------解决方案--------------------
<html>
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 ">
<title> new page </title>
<script>
function aaa(obj){
document.getElementById( "div1 ").style.backgroundImage= "url( "+obj.src+ ") ";
}
</script>
</head>
<body>
lz自己加下图片的路径 <br>
<img src= "# " onclick=aaa(this)> </img>
<div id=div1> 这里是div </div>
</body>
</html>