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 ability to create custom animations for the overlay-background and standard jquery events using .on and .trigger methods. #16

Open
wants to merge 8 commits into
base: gh-pages
Choose a base branch
from

Conversation

LordZardeck
Copy link

I added the ability to set the class of the overlay background in order to create animations on it. In addition, you can use $("my_overlay").on("jquery-popup-overlay.someevent", function(){}). This allows post-creating event binding and removal.

@LordZardeck
Copy link
Author

@vladimirsiljkovic Yes, I'm using that to allow for completely dynamic popups. I try to abstract most of my code, especially when I use libraries. I needed it for my dynamic popups, but if you don't think you need it in the library, that's fine. Just thought I'd contribute the changes I needed in case somebody else had the same problem.

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.

3 participants