灰鸽子的网站…………
[CODE]<div id="marquees">
<table width="100" border="0" cellspacing="0" cellpadding="0">
<tr><td width="100%" align="left" valign="middle">
<img src="http://bbs.bc-cn.net/UploadFace/1949.gif">
<td></tr>
<tr><td width="100%" align="left" valign="middle">
<img src="http://bbs.bc-cn.net/UploadFace/41380.jpg">
<td></tr>
</table>
</div>
<script language="JavaScript">
marqueesHeight=220;
stopscroll=false;
with(marquees){
style.width=0;
style.height=marqueesHeight;
style.overflowX="visible";
style.overflowY="hidden";
noWrap=true;
onmouseover=new Function("stopscroll=true");
onmouseout=new Function("stopscroll=false");
}
document.write('<div id="templayer" style="position:absolute;z-index:1;visibility:hidden"></div>');
preTop=0; currentTop=0;
function init(){
templayer.innerHTML="";
while(templayer.offsetHeight<marqueesHeight){
templayer.innerHTML+=marquees.innerHTML;
}
marquees.innerHTML=templayer.innerHTML+templayer.innerHTML;
setInterval("scrollUp()",100);//越大越慢
}
document.body.onload=init;
function scrollUp(){
if(stopscroll==true) return;
preTop=marquees.scrollTop;
marquees.scrollTop+=1;
if(preTop==marquees.scrollTop){
marquees.scrollTop=templayer.offsetHeight-marqueesHeight;
marquees.scrollTop+=1;
}
}
</script>[/CODE]
不管是什么网站 先把你说的问题解决了 以上是JS做的不间隔滚动