The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › How can I alway display prev, .next of the anythingSlider?
Hello does anyone know how I can display the .prev, .next button when length of items is lower then the navigationSize
$(‘#slider’).anythingSlider({ navigationSize : 6, onSlideBegin: function(e, slider) { slider.navWindow( slider.targetPage ); }, buildArrows : false, onInitialized: function(e, slider) {
if ( $(‘.ul.thumbNav > li’).length <= navigationSize ) { .prepend(‘
‘) .append(‘
‘) } }