title: While MouseDown, first slowly decrease number, then increase decreasing speed (jQuery)
body: <p>As the title suggests I'm stuck with a MouseDown problem. 
  What I want in "pseudocode"</p>
  
  <pre><code>While ("#arrowUp").mouseDown(function() {
      counter++; //One time directly when pressed
      if(MouseDownTime &gt; 500){ //500ms that is
         setTimeOut({counter++}, 75);  //Meaning, every 75ms counter++
      }
  </code></pre>
  
  <p>}</p>
  
  <p>I have been looking around at Stack Overflow for over two days now. And I succeeded to increment every 75ms, but then I couldn't build in the <code>if(MouseDownTime &gt; 500)</code>-statement, while still being able to increase the counter every 75ms after the 500ms.</p>
  
  <pre><code>$("#tempUp").mousedown(function() {     //When longer pressed, automatically faster increase Temperature
      int = setInterval(editTemp(currTemp+1), 250);
      })
                  .mouseup(function() {
      clearInterval(int);
      numberOfRepeats = 0;        
      }); 
  </code></pre>
  
  <p>This is code I have of of my function so far. Could anyone help me out? Or am I asking the question in a wrong way? (non-constructive)</p>