jQuery position element based on window resize
<p>If you look at this page: <a href="http://dev.driz.co.uk/tips/" rel="nofollow">http://dev.driz.co.uk/tips/</a> I'm doing some experimentation to learn more about jQuery and how to develop things similar to what we've seen on Facebook.</p>

<p>You will see I have a tooltip that is positioned relative to the redbox. However if you resize the window it doesn't adjust the tip in relation to it. How do I fix this?</p>

<p>Also considering that the element is quite tall if the user resizes the window height then I would want the tip to move upwards so it appears within the screen viewport in other words always having about 20px away from the bottom of the page BUT keeping the arrow in the same place it is now so it's only the box that adjusts itself.</p>

<p>Can anyone help me to achieve those two things? Much appreciated. Thanks</p>
