From 7464e5b809c1f078b0589c2aaea11e08764a85e9 Mon Sep 17 00:00:00 2001 From: FrozenCow Date: Thu, 31 Mar 2011 11:25:09 +0200 Subject: [PATCH] Separated chatbox to a separate component (into different files). --- configuration.txt | 3 ++ web/index.html | 4 +- web/js/chat.js | 90 ++++++++++--------------------------------- web/js/chatballoon.js | 53 +++++++++++++++++++++++++ web/js/chatbox.js | 74 +++++++++++++++++++++++++++++++++++ web/js/map.js | 90 ------------------------------------------- 6 files changed, 153 insertions(+), 161 deletions(-) create mode 100644 web/js/chatballoon.js create mode 100644 web/js/chatbox.js diff --git a/configuration.txt b/configuration.txt index 22b341fd..945c90ae 100644 --- a/configuration.txt +++ b/configuration.txt @@ -84,6 +84,9 @@ web: - type: chat - type: chatballoon focuschatballoons: false + - type: chatbox + showplayerfaces: true + messagettl: 5 defaultworld: world worlds: diff --git a/web/index.html b/web/index.html index 29e9af2b..28d28434 100644 --- a/web/index.html +++ b/web/index.html @@ -17,6 +17,7 @@ + @@ -26,7 +27,8 @@ - + +