title: Javascript if conditional for a CSS value
body: <p>I'm trying to write a JavaScript conditional which states, "If the #inner id's 'top' value is currently less than 500px then decrease it by 15px."</p>
  
  <p>I am using jQuery and the code works fine if I remove the conditional. </p>
  
  <p>But the following does not work:</p>
  
  <pre><code>if parseInt($("#inner").css("top"), 10 &lt; 500 {
      $("#inner").css("top", parseInt($("#inner").css("top"), 10) + 15 + "px");
  }
  </code></pre>