WordPress.org

Ready to get started?Download WordPress

Forums

Hero theme's Header (3 posts)

  1. spudman2
    Member
    Posted 2 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
    Forum moderator
    Posted 2 years ago #

    Show hero code

    If it's long, use pastebin.com

  3. spudman2
    Member
    Posted 2 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