Grow your CSS skills. Land your dream job.

AnythingSlider: question on navigationFormatter

  • # May 4, 2013 at 8:32 pm

    I read about navigationFormatter on AnythingSlider wiki.. but I can’t understand what this function does (actually I found it in an example for an old version of AnythingSlider). Can I safely remove it?

    function formatText(index, panel) {
    return index + “”;
    }

    $(function () {

    $(‘#slider’).anythingSlider({

    navigationFormatter: formatText
    });

    });

    # May 4, 2013 at 10:03 pm

    Hi, what you shared is basically the default setting of the navigationFormatter. You don’t need to add it unless you want something else showing in the tabs.

    # May 6, 2013 at 2:42 pm

    Thanks! :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

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