This commit is contained in:
Peter 'Pita' Martischka 2011-08-10 18:06:22 +01:00
parent 0e4a54328a
commit d812557445
1 changed files with 22 additions and 9 deletions

View File

@ -3,16 +3,29 @@ var chat = (function()
var self = { var self = {
show: function () show: function ()
{ {
$("#chaticon").hide("slide", { direction: "down" }, 500, function() $("#chaticon").hide("slide", {
direction: "down"
}, 500, function ()
{ {
$("#chatbox").show("slide", { direction: "down" }, 750, self.scrollDown); $("#chatbox").show("slide", {
$("#chatbox").resizable({ handles: 'nw', start: function(event,ui){ direction: "down"
$("#editorcontainer").hide(); }, 750, self.scrollDown);
}, stop: function(event,ui){ $("#chatbox").resizable(
$("#editorcontainer").show(); {
self.scrollDown(); handles: 'nw',
}}); start: function (event, ui)
{
$("#editorcontainer").hide();
},
stop: function (event, ui)
{
$("#editorcontainer").show();
$("#chatbox").css({right: "20px", bottom: "0px", left: "", top: ""});
self.scrollDown();
}
});
}); });
}, },
hide: function () hide: function ()