diff options
| -rw-r--r-- | css/chat.css | 1 | ||||
| -rw-r--r-- | js/chat.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/css/chat.css b/css/chat.css index 9f14d29..de68863 100644 --- a/css/chat.css +++ b/css/chat.css @@ -43,6 +43,7 @@ border-style: solid; border-width: 0px 0px 1px 0px; border-color: #eeeeee; + overflow-y: auto; } .chinput { position: absolute; @@ -59,6 +59,7 @@ var bullechat = { $item = $('<li/>', {'class': 'chspecial'}).text(msg); } $elem.data('body').append($item); + $elem.data('body').animate({scrollTop: $elem.data('body').scrollHeight}, 250); return $item; }, end: function () { |
