下面是调用代码<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>江苏省溧阳市龙阳机械制造有限公司——欢迎您!</title>
<style type="text/css">
<!--
-->
</style>
<link href="css.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
.style1 {
color: #D3000F;
font-weight: bold;
font-size: 14px;
}
a:link {
color: #000000;
}
a:visited {
color: #000000;
}
a:hover {
color: #FF0000;
}
-->
</style>
</head><body  topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<table width="1002" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="238" background="images/4.jpg"><div align="center"><!-- 滚动友情连接嵌入页代码开始 -->
<IFRAME frameBorder=no height=188 marginHeight=0 marginWidth=0 name=mq scrolling=no  src="marquee.htm" width="650"  ></IFRAME>
<!-- 滚动友情连接嵌入页代码结束 --></div></td>
                </tr>
              </table>
</body>
</html>

解决方案 »

  1.   

    没人知道吗?JavaScript高手去哪儿了?
      

  2.   

    我在研究javascript,麻烦归麻烦,目的是找出错误
      

  3.   

    这个肯定是只滚动一次,因为这只是对滚动条的滚动,才显示出的图片的滚动效果,具体你可以把调用的句子改下就可以看出来为什么滚动一次就停了
    <IFRAME frameBorder=no height=188 marginHeight=0 marginWidth=0 name=mq   src="marquee.htm" width="650"  ></IFRAME>
      

  4.   

    你把你的代码limit的值改下,这样就好了
    var limdex = 482;
      

  5.   

    简单得修改limdex的值并不能够实现循环滚动,只不过滚动到最后一张后,又重置了位置重新滚动,并不是走马灯式的接着滚动,原本的代码是图片用双份,并排放一起