Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i set a function to run on a slide when getting on that slide? #40

Closed
AurelDragut opened this issue Oct 8, 2016 · 1 comment

Comments

@AurelDragut
Copy link

Hi,

is there any way i can set the code so that when i get to a slide to run the content from that slide? for example i have a video on slide 3 that i want to start playing automatically when i get to slide3 and to stop when get out of the slide3...

@lukesnowden
Copy link
Owner

https://github.com/lukesnowden/FSVS/blob/master/assets/js/bundle.js#L397

$.fn.fsvs({
    afterSlide : function( index ) {

   }
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants