<img src="xxxx.jpg"/>
<div id="123" style=" width:100;height:20;position:absolute;top:40;left:0;Z-INDEX:100;display:none"><a href='xxx.html'>更換頭像</a></div>
<script>
document.getElementById("123").onmouseover=function(){
this.style.display="";
}
document.getElementById("123").onmouseout=function(){
this.style.display="none";
}
</script>
}
沒測試,僅供參考