jQuery Slide Plugin Positional Problem

I have been using the Slide plugin to slide a div in to replace another div. Here is my code:

http://jsbin.com/iwemaq/15

I have had to make the position of the second div absolute so that it would stay level with the existing div. If you take this out of the example it will force the first div down and it won’t be level with the second as it animates. However the height of the container no longer sticks with the content. How can I achieve this effect?

I want the 2 divs to be able to move back and forth, while level and keeping the container for both divs, any advice would really help! Thanks!

newest questions tagged jquery – Stack Overflow

About Admin