Hero theme's Header (3 posts)

  1. spudman2
    Posted 3 years ago #

    Hello all, I suck at Javascript. Therefore, I can't get the header on hero to cycle between more than 2 images. How do change this?

  2. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    Show hero code

    If it's long, use pastebin.com

  3. spudman2
    Posted 3 years ago #

    Not sure if this is the right bit, but:

    (function($) {
        var NivoSlider = function(element, options){
            // Defaults are below
            var settings = $.extend({}, $.fn.nivoSlider.defaults, options);
            // Useful variables. Play carefully.
            var vars = {
                currentSlide: 0,
                currentImage: 'slide3',
                totalSlides: 4,
                running: false,
                paused: false,
                stop: false,
                controlNavEl: false

Topic Closed

This topic has been closed to new replies.

About this Topic