Click to See Complete Forum and Search --> : scrolling text in a div tag


krautinator
11-25-2003, 04:43 PM
hey everybody...

http://www.geocities.com/krautinator2001//testbed.html
Above link is what I have so far.
I want to make this news ticker type thing for my web site, and I want the text to stay within the bounds of a div tag, removing old text as it scrolls vertically without expanding
I've already gotten that I need to use overflow: hidden, now does anybody know how I need to go about doing everything else I need to do (moving old text up and out of site as new text comes in)


thanx in advance

drewex
11-25-2003, 06:01 PM
Uses this:


<div id=TopTable></div>
setTimeout('document.getElementById(""TopTable"").doScroll(""down"")',1)

This will scroll down the div.
timeout is for startup. You cannot scroll down at the start. It has to wait. Dont know why? It says it has to wait to be able to scroll in some where I searched before.