Lemmon Slider Autoplay

Hi,

How to get lemmon slider autoplay?

Thanks

2 answers

Profile photo of Sherlock 0.00 $tone November 9, 2012
Public

Hi We2solution,

I am sorry for this late reply, you just need to try as following for this issue
At your back-end, Go to edit the Lemmon Slider Static Block, there you would see a javascript snap like this

HTML Code:

                         <script type="text/javascript">// <![CDATA[
       jQuery(window).load(function(){
			jQuery( '#jm-slider-main' ).lemmonSlider({'infinite' : true});
                     
	});
      
// ]]></script>

Just replace it by this

HTML Code:

       <script type="text/javascript">// <![CDATA[
       jQuery(window).load(function(){
			jQuery( '#jm-slider-main' ).lemmonSlider({'infinite' : true});
                        sliderAutoplay();
	});
        // slider autoplay function
      function sliderAutoplay(){
          jQuery( '#jm-slider-main' ).trigger( 'nextSlide' );
          sliderTimeout = setTimeout('sliderAutoplay()', 3000 );

      }
// ]]></script>

Let me know if this change would help !

#1

This question is now closed

Written By

Comments