<html>
<body>
<script language="JavaScript1.2">
//change 1 to another value to alter the scroll speed. Greater is faster
var speed=1
var currentpos=0,alt=1,curpos1=0,curpos2=-1
function initialize(){
startit()
}
function scrollwindow(){
if (document.all)
temp=document.body.scrollTop
else
temp=window.pageYOffset
if (alt==0)
alt=1
else
alt=0
if (alt==0)
curpos1=temp
else
curpos2=temp
if (curpos1!=curpos2){
if (document.all)
currentpos=document.body.scrollTop+speed
else
currentpos=window.pageYOffset+speed
window.scroll(0,currentpos)
}
else{
currentpos=0
window.scroll(0,currentpos)
}
}
function startit(){
setInterval("scrollwindow()",10)
}
window.onload=initialize
</script>
<font color="#FF0000" size="+6"><center><big>
<p>CHECK</p>
<p>IT</p>
<p>OUT</p>
<p>THIS</p>
<p>TEXT</p>
<p>WILL</p>
<p>KEEP</p>
<p>ON</p>
<p>SCROLLING</p></center></font></big>
</body>
</html>

try marquee

<html>
<body>
<marquee direction="up" height="100%">
<font color="#FF0000" size="+6"><center><big>
<p>CHECK</p>
<p>IT</p>
<p>OUT</p>
<p>THIS</p>
<p>TEXT</p>
<p>WILL</p>
<p>KEEP</p>
<p>ON</p>
<p>SCROLLING</p></center></font></big>
</big>
</body>
</html>

SNIP

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.