Detect browser window area changing

Detect browser window area changing

Hi!

I am learning jquery and so far I am loving it.

I am building a list inside a div. When I click the list it scroll until reach the bottom.

The problem occurs when the available window height changes. I need to find a way to detect it to trigger a function that re-aligns the list :)

thanks for any tip :)

try the code i did so far:  http://jsfiddle.net/ruiganga/rfUCQ/11