jQuery: if a number is between two values
<p><strong>Disclaimer:</strong> I'm aware that this answer has been asked before on this website, but with that being said I couldn't find an answer to my specific question.  </p>

<p>Any ways, In jQuery, I'm telling the browser to do anything if the window size is greater than 500px. I do it like so..</p>

<pre><code>if (windowsize &gt; 500) {

// do this

   }
</code></pre>

<p>This works great, but I would like to apply this same method, but with a range of numbers.  So I would like to tell my browser to do stuff if the window size is between 500 and 600px. I know this wouldn't work, but here is how I Imagined it :)</p>

<pre><code>if (windowsize &gt; 500-600) {

// do this

   }
</code></pre>

<p>Is this even possible within jQuery?</p>
