I am trying to do something similar as in facebook chat, but this is for personal use. Everything works fine except for the css part.
I am trying with an absolute position to create a div, yes it can handle it, but the problem is when I have a chat loop in php .. and I need to use float (float div box on the right).
you can check my jsfiddle here
Below is a snippet of code in jquery
//Close $('.closed1').click(function () { $('.wrap_box1').hide(); $('.main_chat1').addClass('hide_wrap_box'); }); //Open $('.open_chat1').click(function () { $('.wrap_box1').show(); $('.main_chat1').removeClass('hide_wrap_box'); });
If you see my jsfiddle, the chat window crashes to the top, but how to minimize to the bottom ?, try clicking the close button.
source share