pagination - jQuery list to start at 1, not 0 -
i've read previous questions haven't found solution.
i have slideshow ck module installed on joomla 3 modified it's css show numbers instead of circles in pagination.
the problem:
the module shows pagination starting @ number 0. need start @ number 1.
the question:
is there way display pagination if 0 1, 1 2, 2 3, ect.?
the function one:
if($(pagination).length) { $(pagination).append('<ul class="camera_pag_ul" />'); var li; (li = 0; li < amountslide; li++){ $('.camera_pag_ul',wrap).append('<li class="pag_nav_'+li+'" style="position:relative; z-index:1002"><span><span>'+li+'</span></span></li>'); }
you can try:
if($(pagination).length) { $(pagination).append('<ul class="camera_pag_ul" />'); var li; (li = 0; li < amountslide; li++){ $('.camera_pag_ul',wrap).append('<li class="pag_nav_'+(li+1)+'" style="position:relative; z-index:1002"><span><span>'+(li+1)+'</span></span></li>'); }
Comments
Post a Comment