Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #223336

    Hi there,

    For the Easy Slider, when you hover anywhere over the slider it pauses, and then you have to navigate manually to get it to move again, unless I am missing seeing the option somewhere. Is there any to have it pause on hover and resume rotation after hovering off ?

    I can post a URL to my site if you need it.

    Thanks, David

    #223877

    Hey hawea74!

    By default the slider will ignore the mouse hover event and the autorotation won’t stop. However Kriesi added an hidden option to the slideshow script and you can activate it if necessary. Open up wp-content/themes/enfold/js/shortcodes.js and replace

    
    hoverpause: false,
    

    with

    
    hoverpause: true,
    

    Best regards,
    Peter

    #224238

    Hi Peter, thanks for your reply.

    I think I didn’t explain the issue I am seeing properly.

    When you choose to navigate the slider with the left and right buttons, the autorotation stops completely. Then you can only navigate manually.

    But I guess there is no way for the autorotation to resume, after some manual navigation has been performed ?

    Thanks, David

    #224813

    Hey!

    This should be possible. In wp-content/themes/enfold/js/shortcodes.js replace

    
    		next : function(e)
    		{
    			e.preventDefault();
    			this._stopSlideshow();
    			this._navigate( 'next' );
    		},
    
    		// public method: shows previous image
    		previous : function(e)
    		{
    			e.preventDefault();
    			this._stopSlideshow();
    			this._navigate( 'prev' );
    		},
    

    with

    
    
    		next : function(e)
    		{
    			e.preventDefault();
    			this._stopSlideshow();
    			this._navigate( 'next' );
    
    			setTimeout(this._startSlideshow(),50);
    		},
    
    		// public method: shows previous image
    		previous : function(e)
    		{
    			e.preventDefault();
    			this._stopSlideshow();
    			this._navigate( 'prev' );
    
    			setTimeout(this._startSlideshow(),50);
    		},
    

    Cheers!
    Peter

    #226511

    Awesome, thanks Peter :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Easy Slider auto resume after hover / pause’ is closed to new replies.