-
AuthorPosts
-
February 13, 2014 at 11:26 am #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
February 14, 2014 at 11:21 am #223877Hey 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,
PeterFebruary 15, 2014 at 2:25 am #224238Hi 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
February 17, 2014 at 8:09 am #224813Hey!
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!
PeterFebruary 20, 2014 at 1:15 am #226511Awesome, thanks Peter :)
-
AuthorPosts
- The topic ‘Easy Slider auto resume after hover / pause’ is closed to new replies.
