Hide Div on Window Maximize & Resize > 1600px - JQuery
<p>How would I hide a HTML div when the browser window is either maximized or resized greater then 1600px using jquery?</p>

<p>I currently have it set so the div hides when the page is greater then 1600px on load but cannot get it to hide when the window is maximized or resized after the page has loaded. Below is the code I have used:</p>

<pre><code>if ($(window).width() &gt; 1600) {
      $('#next').hide();
  $('#back').hide();
}
</code></pre>

<p>Any help would be greatly appreciated.</p>

<pre><code>$(window).bind('resize', function(){

if ($(window).width() &gt; 1600) {
      $('#next').fadeOut();
} else {
  $('#next').fadeIn();
}
});  
</code></pre>
