<div id="sorollDiv1" style="right:-8px; position:absolute; top:120px; height: 105px; width: 125px;"> 
<a href="/zaopin/zhaopin.asp" target="blank" title="点击查看招聘信息"> 
<img src="./images/zhaopin.jpg" width="124" height="106" border=0 galleryimg="no"></a> </div> 
<script type="text/javascript"> 
var lastScrollY=0; 
function heartBeat(){ 
diffY=document.documentElement.scrollTop; 
percent=0.1*(diffY-lastScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
document.getElementById("sorollDiv1").style.top=parseInt(document.getElementById("sorollDiv1").style.top)+percent+"px"; 
lastScrollY=lastScrollY+percent; 

window.setInterval("heartBeat()",1); 
</script> 
从网上找的一段代码,随便贴的网页上,可以显示图片,可是不随网页的下拉移动,郁闷???