<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!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>
</head>
<body>
<table width="780" height="50" border="1" bordercolor="#000000">
<tr>
<script type="text/javascript">
document.write('<table align=center width=775 border=0 cellpadding=0 cellspacing=0 style=BORDER-LEFT: #cccccc 1px solid;BORDER-RIGHT: #cccccc 1px solid>');
document.write(' <tr> ');
document.write(' <td width=774 height=31 align=center class=border01 bgcolor=#FFFFFF>');
document.write(' <div id=demo style=overflow:hidden;width:750;align=center>');
document.write(' <table border=0 align=center cellpadding=1 cellspacing=1 cellspace=0 >');
document.write(' <tr>');
document.write(' <td valign=top bgcolor=ffffff id=marquePic1> ');
document.write(' <table width=100% border=0 cellspacing=0 cellpadding=0>');
document.write(' <tr align=center> ');
document.write(' <td><a href="http://www.cast.org.cn/" target="new"><img src="logo/castlogo.gif" width="161" height="50" border=0></a></td>');
document.write(' <td><a href="http://www.cpst.net.cn/" target="new"><img src="logo/cpstlogo.gif" width="179" height="50" border=0></a></td>');
document.write(' <td><a href="http://www.uisp.org.cn/uisp/index.jsp" target="new"><img src="logo/kplm.gif" width="160" height="50" border=0></a></td>');
document.write(' <td><a href="http://www.bjkp.gov.cn/bjkpzc/index.shtml" target="new"><img src="logo/bjkpzc.jpg" width="174" height="50" border=0></a></td>');
document.write(' <td><a href="http://www.losn.com.cn/" target="new"><img src="logo/kjzg.jpg" width="99" height="50" border=0></a></td>');
document.write(' <td><a href="http://www.sedu.org.cn/" target="new"><img src="logo/kxjy.jpg" width="154" height="50" border=0></a></td>');
document.write(' <td><a href="http://www.bast.net.cn/" target="new"><img src="logo/sdkjw.jpg" width="128" height="50" border=0></a></td>');
document.write(' <td><a href="http://www.stcity.net.cn/" target="new"><img src="logo/zgkp.jpg" width="178" height="50" border=0></a></td>');
document.write(' <td><a href="http://www.kepu.com.cn/gb/index.html" target="new"><img src="logo/zgkpbl.jpg" width="159" height="50" border=0></a></td>');
document.write(' <td><a href="http://www.91kp.cn/site/Default.aspx" target="new"><img src="logo/zgkppd.jpg" width="174" height="50" border=0></a></td>');
document.write(' <td><a href="http://www.cstm.org.cn/" target="new"><img src="logo/zgkxjsg.jpg" width="268" height="50" border=0></a></td>');
document.write(' </tr>');
document.write(' </table>');
document.write(' </td>');
document.write(' <td id=marquePic2 valign=top></td>');
document.write(' </tr>');
document.write(' </table>');
document.write(' </div>');
document.write(' </td>');
document.write(' </tr>');
document.write(' </table>');
var speed=15
marquePic2.innerHTML=marquePic1.innerHTML
function Marquee(){
if(demo.scrollLeft>=marquePic1.scrollWidth){
demo.scrollLeft=0
}else{
demo.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
demo.onmouseover=function() {clearInterval(MyMar)}
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</script></tr></table>
</body>
</html>
这是一个友情链接的连续滚动图片程序,鼠标放上,滚动会停止
我原来用这个程序都正常
现在只是换了换超连接和图片,怎么就不滚动了