[thelist] DHTML Scrolling Area

Noah St. Amand noah at tookish.net
Thu Jan 10 15:12:17 CST 2008


I'm trying to write a simple, unobtrusive script that will scroll  
content automatically. My javascript skills are pretty weak, but I've  
cobbled together something that I think is most of the way there:


What I can't figure out is how to make it loop smoothly, i.e., to have  
the 9 slide across the container followed by the 0 1 2 3 etc. Right  
now, when it gets to the end (9), it stops and starts over again.

Any advice greatly appreciated.


More information about the thelist mailing list