jQuery show next prev items when keypress
<p>i have list items: </p>

<pre><code>&lt;ul&gt;
  &lt;li class="slides"&gt;
    &lt;p&gt;content&lt;/p&gt;
  &lt;/li&gt;
  &lt;li class="slides"&gt;
    &lt;p&gt;content&lt;/p&gt;
  &lt;/li&gt;

.. etc

&lt;/ul&gt;
</code></pre>

<p>and jQuery:</p>

<pre><code>$(document.documentElement).keyup(function (e) {

  if (e.keyCode == 39)
  {
  }

  if (e.keyCode == 37)
  {
  }

});
</code></pre>

<p>How can i show next items when click keyboard 'right' and when press keyboard 'left' show prev items?</p>
