corrade-http-templates
/groupChat/groupChat.html |
@@ -42,7 +42,9 @@ |
(function retrieveMessages() { |
$.get("chat.log?t=" + Math.random(), function(data) { |
$("#chat").html(data); |
$("#chat").scrollTop($("#chat")[0].scrollHeight); |
$("#chat").animate({ |
scrollTop:$("#chat")[0].scrollHeight - $("#chat").height() |
},1000); |
setTimeout(retrieveMessages, 1000); |
}); |
}()); |
/groupChat/css/style.css |
@@ -5,7 +5,6 @@ |
width: 640px; |
/* height: 120px; */ |
resize: none; |
overflow: hidden; |
border: 1px solid #cccccc; |
-webkit-border-radius: 1px 1px 1px 1px; |
border-radius: 1px 1px 1px 1px; |