Create a sideshow/carousel navigation based on number of list items
<p>I am trying to create my sideshow nav based on the number of slides.</p>

<pre class="lang-javascript prettyprint-override"><code>var navList = $('&lt;li class="cItem"&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/li&gt;');
var carouselItems = el.find('li');

for (var i = 0, len = carouselItems.length; i &lt; len; i++){
  var e = carouselItems[i];
  options.navigation.append(navList);
  console.log(e);
}
</code></pre>
