0

I have this webpeage...

http://grabbers.maddoggmedia.com/

When a visitor clicks on the text input inside the chat area, I want the chat to open up, which it does. However I cannot seem to figure out how to move the content below up and down as it opens and closes. As of now it just goes underneath the other content.

I really need this completed soon, I would appreciate any help. I have spent 6 hours today trying to find the right answer to no avail.

http://jsfiddle.net/maddoggmedia/6LK4p/

 $(document).ready(function() {

 $('#chat-box-chats').hide();

 $(".chat-box-textinput").click(function(){
 $("#chat-box-chats").show();
 });

 $(".chat-box-textinput").click(function(){
 $(".chat-box-banner").show();
 });
  • Oh.. at quick look the whole structure needs to change. currently it looks like you have positioning horizontally ... like table -> row -> cell. you need to make it so its table -> column -> cell – deach Dec 20 '12 at 03:48
  • any jquery you are using for positioning the li's? –  Dec 20 '12 at 03:51
  • 1
    in jsfiddle the LIs (each content area) is relative and so it pushes down when the one above (above as in html hierarchy) increases in height. On the site the LIs are absolute also the LI below the chat LI is not the next LI (in html hierarchy). – deach Dec 20 '12 at 04:04
  • So I will need to reformat the entire html and css? Also, can anyone explain what jquery commands i am missing to make the below
  • move down as the top one is opened and move up when its closed?
  • – user1917562 Dec 20 '12 at 04:14