JS的一个问题
<script language="JavaScript" type="text/JavaScript">
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
</script>
</head>
<body>
<form action="" method="post" name="f1" id="f1">
<script language="JavaScript">
function showlogo(){
document.im.src="img/"+document.f1.select1.value+".gif";
}
</script>
<select name="select1" id="select1" onChange="MM_callJS('showlogo()')">
<option value="0">0.gif</option>
<option value="1">1.gif</option>
<option value="2">2.gif</option>
<option value="3">3.gif</option>
</select>
</form>
<img src="img/0.gif" name="im">
如果要让图片也加上链接,那该怎么加 高手帮帮改下