In my portfolio, I want to create a horizontal navigation with local scroll to showcase a gallery of various pictures.
For this, I have a (div id="projects") with links structured like this:
<div id="projects">
<ul id="content-slider-inside">
<li id="one" class="pictures"><img src="images/paulotlet1.JPG" alt="paulotlet1" width="620" height="415" /></li>
<li id="two" class="pictures"><img src="images/paulotlet1.JPG" alt="paulotlet1" width="620" height="415" /></li>
<li id="three" class="pictures"><img src="images/paulotlet1.JPG" alt="paulotlet1" width="620" height="415" /></li>
<li id="four" class="pictures"><img src="images/paulotlet1.JPG" alt="paulotlet1" width="620" height="415" /></li>
<li id="five" class="pictures"><img src="images/paulotlet1.JPG" alt="paulotlet1" width="620" height="415" /></li>
</div> <!-- END PROJECTS -->
I want to incorporate an animation where clicking on an arrow or pressing a key on the keyboard will scroll to the next (li class='pictures') within the (div id="projects").
Many thanks!