try:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无间断图片轮滚</title>
<style>img{border:0}</style>
</head>
<body>
<!--
*****fason(2002-5-17)******
-->
<div id=oDiv style="width:200;border:1 solid red;overflow:hidden" onmouseover="clearInterval(s)" onmouseout="s=setInterval(fsnMarquee,20)">
<div id=oCont>
<nobr><a href=1.htm><img src=csdn.gif></a><a href=2.htm><img src=csdn.gif></a><a href=3.htm><img src=1.JPG width=100 ></a>
</nobr>
</div>
</div>
<script>
var i=0
var s=null
function fsnMarquee(){
if(oDiv.scrollLeft>=(oCont.offsetWidth-oDiv.offsetWidth)/2){
oCont.firstChild.innerHTML+=oCont.firstChild.children[i].outerHTML
i++
}
else oDiv.scrollLeft++;
}
window.onload=function(){s=setInterval(fsnMarquee,20)} 
</script>
</body>
</html>http://expert.csdn.net/Expert/topic/1792/1792680.xml?temp=4.255313E-02

解决方案 »

  1.   

    to fason(阿信) 我的第一幅图片第2次出现时,与最后一幅图片有空白。如何去掉?我的图片宽度100, 滚动范围宽度550
      

  2.   

    可以考虑一下
    <marquee direction="left"><img src="XXX"><img src="ooo"><marquee>
      

  3.   

    补充一点,如果要实现鼠标放上去停止,移开后又继续:
    <marquee direction="left" id="marq"><img src="XXX" onmouseover="marq.stop()" onmouseout="marq.start();"><img src="ooo"><marquee>
    内容可扩充!
      

  4.   

    http://www.gl-itc.org看看效果合适的话
    我可以贴代码出来
      

  5.   

    Sorry,弄错题意了。
    fason的答案应该比较完美了
      

  6.   

    to fason(阿信) 我的第一幅图片第2次出现时,与最后一幅图片之间有空白块。难看死了!如何去掉?我的图片宽度100, 滚动范围宽度550