Grow your CSS skills. Land your dream job.

How can I alway display prev, .next of the anythingSlider?

  • # June 22, 2013 at 11:12 am

    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)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".