« Wive-NG with Dlink DWL-G700AP does not work in Client mode | Suppressing mplayer's pesky error messages » |
Because when an overflowed DOM element is first created, it always starts scrolling from the top.
However, you can scroll down an overflowed DOM element such as a Div by setting the scroll.
The follow sample is written in jQuery
$("#bigDiv").scrollTop($("#bigDiv")[0].scrollHeight - $("#bigDiv").height());
Where
$("#bigDiv")[0].scrollHeight is the full overflowed height of the content.
$("#bigDiv").height() is the height of the container.