Wolf Cat
Wolf Cat

Reputation: 171

Revolution Slider Stop After User Interaction

I am using this slider on my homepage: http://www.orbis-ingenieria.com/code/documentation/documentation.html#!/documenter_cover

Currently I have the option to pause the slide when a user hovers their mouse over it, but when the mouse is removed the slide continues to play.

I want any user interaction including: hovering and clicking on the slide to result in the slide stopping on whatever slide the user is on. Then when the user takes their mouse away from the slide it SHOULD NOT resume.

Can some one figure this out?

This is the live page: http://searchtransparency.net/air/slider.html

Upvotes: 1

Views: 2387

Answers (1)

pmandell
pmandell

Reputation: 4328

I believe you want:

$('.sliderClass').on('hover click', function(){
    sliderInstance.revpause();
});

Upvotes: 3

Related Questions