title: JavaScript slider
body: <p>I need to create a 'slider' for a client's site. The slider should allow people to select how many items they want of x item, and show what the price will be based on that. The weird(ish) part is that the ratio of the price increase will go down as the amount of items goes up:</p>
  
  <ul>
  <li>1 item: $100</li>
  <li>2 items: +90 = $190</li>
  <li>3 items: + 80 = $270</li>
  <li>4 items: + 70 = $340</li>
  <li>5 items: + 60 = $400</li>
  <li>6 items: + 50 = $450</li>
  <li>7 items: + 50 = $500</li>
  </ul>
  
  <p>And all increases from then on are +50. This probably seems like an overly simplistic question, but does anyone know how I could go about doing this? I have almost no experience with JavaScript :( </p>