asp走马灯问题
<table width="100%" CELLPADDING=0 CELLSPACING=0><tr>
<td height="101">
<div id="demo" style="OVERFLOW: hidden; WIDTH: 534;">
<table cellspacing=0 cellpadding=0 align=left border=0 cellspace="0">
<tbody>
<tr>
<td id="demo1" valign=top>
<table width="534" height="80" border="0" cellpadding="1" cellspacing="0">
<tr align="center">
<td width="89" align="center"><img width="99" height="75" border="0" src="images/hfzx.jpg"/><br>
<a href="jmjs.html">XXXX</a></td>
<td width="89" align="center"><img width="99" height="75" border="0" src="images/1377z.jpg"/><br>
<a href="jmjs.html">XXXX</a></td>
<td width="89" align="center"><img width="99" height="75" border="0" src="images/dyflsj.jpg"/><br>
<a href="jmjs.html">XXXX</a></td>
<td width="89" align="center"><img width="99" height="75" border="0" src="images/xwjxs.jpg"/><br>
<a href="jmjs.html">XXXX</a></td>
<td width="89" align="center"><img width="99" height="75" border="0" src="images/xwwgf.jpg"/><br>
<a href="jmjs.html">XXXX</a></td>
</tr>
</table>
</td>
<td id="demo2" valign=top></td>
</tr>
</tbody>
</table>
</div>
<SCRIPT>
var speed3=30//速度数值越大速度越慢
demo2.innerHTML=demo1.innerHTML
function Marquee()
{
if(demo2.offsetWidth-demo.scrollLeft<=0)
demo.scrollLeft-=demo1.offsetWidth
else
{
demo.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed3)
demo.onmouseover=function() {clearInterval(MyMar)}
demo.onmouseout=function()
{
MyMar=setInterval(Marquee,speed3)
}
</SCRIPT>
</td>
</tr>
</table>
同样的一段代码,单独放到一个空白页面中,就能正确显示走马灯效果,但是放到网页首页中以后就不会正常显示,请问高手是哪里有问题,谢谢