You can see the implementation here: http://jsfiddle.net/CtLpz/3/
Basically what I want to happen is, when you click on the image in the middle (the ‘add client’ from box1 for example), you see the textboxes in the middle of the dashed panel (similar to the way the image was before it was clicked).
The same should also happen in all the other boxes.
Thanks.
Your stylesheet uses
margin-topto adjust the positions of the images. If you instead, place these images and text in a block-element, such as adiv, then you can replace the contents of this element in your jQuery code and the new contents will be styled similarly. Here is a working version: http://jsfiddle.net/treyh/AjycL/HTML Before
HTML After
JavaScript Before
JavaScript After
CSS Before
CSS After