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

On "fade" transition - while of slider load - first slide caption is untouchable #6

Closed
federone opened this issue Oct 30, 2014 · 3 comments

Comments

@federone
Copy link

hi again,

i think there is issue while on "fade" transition - when slider loads, first slide elements, i mean caption and button in it, is untouchable. But if we slide to second one and then back to first one, then it works.
problem is that when when slider loads, first slide is pushed back to other slides.

i noticed that when we slide, current slide applies "display:block" style, and to other ones "display:none" - thats why it works on second slide.

its not a big issue - i can solve it simple from outside plugin:
$(".slide:first-child").show();
$(".slide").not(':first').hide();

is there any event when slider loads (on first load of slider or slide)?

thank you very much again,
Federico

dirkgroenen added a commit that referenced this issue Oct 31, 2014
@dirkgroenen
Copy link
Owner

Fixed this by inversing the z-index of each slide.

Thanks for your feedback!

@dirkgroenen
Copy link
Owner

Oh, and I just added an init event. Please read the README before implementing this event. It's important to bind the event before initializing simpleSlider.

@federone
Copy link
Author

thank you very much, your slider is awesome, especially on mobile / tablet devices

Best Wishes,
Federico

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