Change item height if it width is more than 500px - jQuery : <p>I have an item on the page(500x200), and when its width is more than 500px, the height should be increased to 400.</p>

<p>Is it possible to be done with jQuery?</p>
