Reply To: Rotating Messages/Muting Video – Layout 3

Support Forums Gris – HTML Template Rotating Messages/Muting Video – Layout 3 Reply To: Rotating Messages/Muting Video – Layout 3

#5152
CreaboxThemes
Keymaster

Hi Nigel,

  1. If you want to stop the messages rotate in the 3rd message you have to change the code in the script to this one:

    var i = 0;
        function messageRotate( index ) {
    	        var prev = ( (index == 0) ? (messageMax) : (index - 1) );
    	        var next = ( (index == messageMax) ? 0 : (index + 1 ) );
    	        
    	        if (i < 2){
    	        setTimeout ( function () {
    	            $(messageArray[prev]).fadeOut();
    	            setTimeout ( function () {
    	                $(messageArray[index]).fadeIn();
    	                setTimeout ( function () {
    	                     messageRotate(next);
    	                },2000 );
    	            },1000 );
    	        },2000 );
    	        i++;
    	    }
        }
  2. In the file video_vimeo.js, you have to change the protocol http://&#8230; to https://&#8230; in the line 15

Regards