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

added slidetransitioncallback #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jamesthebrooks
Copy link

IE doesn't respect overflow:hidden on video elements in this slider. This causes video elements to flicker and be displayed outside the slide container as the slide is being transitioned out. By allowing for a callback in this place, one possible solution is to do the following:

$('#slider').fractionslider({
  onSlideTransitionCallback: function() {
    $('#slider').find('video, .ui-video-background').fadeOut(0).delay(500).fadeIn(0);
  }
});

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

Successfully merging this pull request may close these issues.

1 participant