Board Thread:Support Requests - Getting Technical/@comment-26437440-20151019025015/@comment-26437440-20151020023322

Well I did some troubleshooting in Firefox's scratchpad and got it to work. Running the JS by itself gave me n issue with mcw not being defined, so reading through the JS again I copied over the first part as well and it worked

The full thing I used was ( function { 'use strict';

/** * Instead of cluttering up the global scope with * variables, they should instead be set as a * property of this global variable * * E.g: Instead of *  myVar = 'blah'; * use *  mcw.myVar = 'blah'; */ var mcw = window.mcw = {};

/** * Element animator * * Will cycle the active class on any child elements * within an element with the animated class. */ ( function {	if ( !mcw.animate ) {		mcw.animate = setInterval( function { $( '.animated' ).each( function {				var $elem = $( this );				var $current = $elem.children( '.active' );				var $next = $current.nextAll( ':not(.skip):first' );				// Loop back to the start				if ( !$next.length ) {					$next = $elem.children( ':not(.skip):first' );				}				$current.removeClass( 'active' );				$next.addClass( 'active' );			} ); }, 2000 );	} } );

} );

Good to know I don't need thee Lua and all that, once again thank you!