I tried different plugins like bootstrap-paginator and bootstrap-pagination-js to make pagination through dynamically generated elements , so that they don't exceed one line.
The wanted result : One line of dates with next and previous buttons respectively in the right and in the left .
The plugins that I've tried have not been useful to me .
My code looks like this:
Code:
<div class="row">
<div class="col-md-12 column">
<ul class="nav nav-pills center-pills text-center">
<li class="active">
<a href="#">
<span class="text-center badge pull-right span-list">1</span>
1 Mars
</a>
</li>
<li class=""><a href="#">2 Mars</a></li>
<li class=""><a href="#">3 Mars</a></li>
<li class=""><a href="#">4 Mars</a></li>
<li class=""><a href="#">etc</a></li>
<li class=""><a href="#">etc</a></li>
<li class=""><a href="#">etc</a></li>
<li class=""><a href="#">etc</a></li>
<li class=""><a href="#">etc</a></li>
<li class=""><a href="#">etc</a></li>
<li class=""><a href="#">etc</a></li>
<li class=""><a href="#">etc</a></li>
</ul>
</div>
</div>
The code fiddle .
Your suggestions will be very welcome