title: jQuery/Javascript if width issue
body: <p>I can't seem to get my if statement working. I know that everything inside the if statement works, so would appreciate some help.</p>
  
  <pre><code>$(document).ready(function () {
      if(screen.width &gt; 350) {
          $('#search').hide();
          $('.trigger').click(function () {
              $('#search').slideToggle("500");
          });
      }
  });
  </code></pre>