Forums

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?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #45756
    peterbr
    Participant

    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(‘

    ‘)
    }
    }

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.