Thread
:
Force Scrollbar to bottom
View Single Post
11-01-2008, 05:14 PM
#
2
Salathe
Status:
Community Archaeologist
Join date:
Jul 2004
Location:
Scotland
Expertise:
Software Development
Software:
vim, PHP
Posts:
3,820
iTrader:
25
/ 100%
You could use JavaScript to set the scrollTop property. Off the top of my head:
Code:
var elem = document.getElementById("chat"); elem.scrollTop = elem.scrollHeight;
Salathe
View Public Profile
Visit Salathe's homepage!
Find More Posts by Salathe