<div id=demo style="overflow:hidden;width:750;" align=center>
<table border=0 align=center cellpadding=1 cellspacing=1 cellspace=0 >
<tr><td valign=top bgcolor=ffffff id=marquepic1>
<table width='100%' border='0' cellspacing='0'><tr><td align=center><a href='#'><img src="/img/logo.gif" width=120 height=80 border=0><br><br>01</a></td><td align=center><a href='#'><img src=/img/logo.gif width=120 height=80 border=0><br><br>02</a></td><td align=center><a href='#'><img src=/img/logo.gif width=120 height=80 border=0><br><br>03</a></td><td align=center><a href='#'><img src="/img/logo.gif" width=120 height=80 border=0><br><br>04</a></td><td align=center><a href='#'><img src=/img/logo.gif width=120 height=80 border=0><br><br>05</a></td><td align=center><a href='#'><img src=/img/logo.gif width=120 height=80 border=0><br><br>06</a></td><td align=center><a href='#'><img src="/img/logo.gif" width=120 height=80 border=0><br><br>07</a></td><td align=center><a href='#'><img src=/img/logo.gif width=120 height=80 border=0><br><br>08</a></td><td align=center><a href='#'><img src=/img/logo.gif width=120 height=80 border=0><br><br>09</a></td></tr></table>
</td><td id=marquepic2 valign=top></td></tr>
</table></div>
<script type="text/网页特效">
var speed=50 //www.111cn.net www.111cn.net
marquepic2.innerhtml=marquepic1.innerhtml
function marquee(){
if(demo.scrollleft>=marquepic1.scrollwidth){
demo.scrollleft=0
}else{
demo.scrollleft++
}
}
var mymar=setinterval(marquee,speed)
demo.onmouseo教程ver=function() {clearinterval(mymar)}
demo.onmouseout=function() {mymar=setinterval(marquee,speed)}
</script>
滚动代码二
<div id=demo style=overflow:hidden;height:139;width:232;background:#f4f4f4;color:#ffffff><table align=left cellpadding=0 cellspace=0 border=0><tr><td id=demo1 valign=top><img src="/down/js/images/12460764740.jpg"><img src="/down/js/images/12460764741.jpg"><img src="/down/js/images/12460764742.jpg"><img src="/down/js/images/12460764743.jpg"><img src="/down/js/images/12460764744.jpg"></td><td id=demo2 valign=top></td></tr></table></div>
<script>
var speed=30
demo2.innerhtml=demo1.innerhtml
function marquee(){
if(demo2.offsetwidth-demo.scrollleft<=0)
demo.scrollleft-=demo1.offsetwidth
else{
demo.scrollleft++
}
}
var mymar=setinterval(marquee,speed)
demo.onmouseover=function() {clearinterval(mymar)}
demo.onmouseout=function() {mymar=setinterval(marquee,speed)}
</script>
代码三
<script language=javascript>
<!-- begin
var message="javascripts,flashs,templates-buy my products, click here!";//put your message here
function buttonurl(){
window.location="http://www.111cn.net"
}
function scroll()
{
message = message.substring(1,message.length) + message.substring(0,1);
document.bs.bs.value = message;
settimeout("scroll()",140);
}
window.onload=scroll
document.write('<style type="text/css教程">')
document.write('.select{background: #cc0000;border-color:"#eeeeee";color:"white";font-family:arial,helvetica,verdana;font-size:8pt;font-weight: bold;}')
document.write('</style>')
document.write('<form name=bs><input class="select" type="button" name="bs" value="" onclick="buttonurl()"></form>')
// end -->
</script>