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

Feat: Allow the CSS for visible/hidden slides to be overridden in settings #324

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

Conversation

eyesofjeremy
Copy link

This allows the CSS applied to visible and hidden slides to be overridden via the options.

In my case, I just want opacity to be applied. This change allows me to write the following jQuery code:

    $('#slideshow').responsiveSlides({
        'visibleStyle' : {"opacity": 1}, // Object: jQuery CSS
        'hiddenStyle' : {"opacity": 0} // Object: jQuery CSS
    });

... and only that CSS is applied when switching between visible and hidden slides.

* master:
  Updates changelog
  Added compatibility with jQuery 3.0.0 (changed size() to length).
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