I have a php script that shows a log of its actions as the script proceeds. The log is getting quite long, up to the point where it will echo its information past the bottom
function fun() { $("div").scrollTop(50); }
now use