You can club this article with dynamic html code generation using c# in asp.net to give you the flexibility in setting the news dynamically from database or XML. I have attached the dynamic html code generation sample code with this article. You Can download and make use of it.
Using the code
Just go thru the code attached with this article . sample code will easily make you understand what it does.
var loc = document.getElementById('myDiv');
var div = document.getElementById('myDiv');
h = div.scrollHeight;
if(speed > (h-350))
div.scrollTop = speed;
Points of Interest
My first post.Will get back with simple and useful articles