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 = {
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").resizable(
{
handles: 'nw',
start: function (event, ui)
{
$("#chatbox").show("slide", { direction: "down" }, 750, self.scrollDown);
$("#chatbox").resizable({ handles: 'nw', start: function(event,ui){
$("#editorcontainer").hide();
}, stop: function(event,ui){
},
stop: function (event, ui)
{
$("#editorcontainer").show();
self.scrollDown();
}});
$("#chatbox").css({right: "20px", bottom: "0px", left: "", top: ""});
self.scrollDown();
}
});
});
},
hide: function ()