Commit a5b98e03 authored by Nico Schallehn's avatar Nico Schallehn

scrollen 2. Versuch

parent a1a5c02a
...@@ -76,7 +76,11 @@ else{ ...@@ -76,7 +76,11 @@ else{
while($chat = mysql_fetch_array($result)) { while($chat = mysql_fetch_array($result)) {
echo MessageFormat($chat['hideuser'], $chat['admin'], $chat['privat'], $chat['name'], $chat['chat_time'], $chat['nachricht'], $chat['user_id']); echo MessageFormat($chat['hideuser'], $chat['admin'], $chat['privat'], $chat['name'], $chat['chat_time'], $chat['nachricht'], $chat['user_id']);
} }
$JqueryDo = '$("html, body").animate({ scrollTop: $(document).height() }, "slow");'; $JqueryDo = '$(\'html, body\').animate({
scrollTop: $(document).height()-$(window).height()},
1400,
"easeOutQuint"
);';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment