Hey guys and gals,
What I am trying to achieve will require some 'pixel perfect' positioning, which always makes me pull my hair out.
What I want to do is have the ability to display small contact form when a button is clicked. The pixel perfect positioning is because I want the button to appear as if it is inside of the 'contact div' once it is visible on the screen.
I was able to come up with a working example. I figured it was good to get the height of the items 'dynamically' with Jquery as I believe there are small differences with various browsers that would make my hard coded values not work well.
Here is an example on jsFiddle: http://jsfiddle.net/vHvrW/3/
You can find my code on there as well...
I was able to get it to work in a generic sense, however I am wondering if I am doing it the "right way"... Is there a better way to do this?