Detect vertical resize jquery
<p>I am making a login page in which I use a little javascript and jquery to vertically align the login box.</p>

<p>I also have an event on resize() to put the box in the middle again.</p>

<p>But, with resize(), everytime the user resize the window, the function is fired and this is a kind of ugly :))</p>

<p>So, I would like to know if there is a way to fire the function only on vertical resize.</p>

<p>Thank you</p>
