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 to you programmatically pop an overlay? #271

Open
halukkaramete opened this issue Apr 19, 2020 · 1 comment
Open

how to you programmatically pop an overlay? #271

halukkaramete opened this issue Apr 19, 2020 · 1 comment

Comments

@halukkaramete
Copy link

for example, you are building a quiz and user answers a question wrong and you want an overlay to pop?

all of the links on your demo have links based achors.

and demo link with a timer would be nice too! for example, you click on a link, which triggers a js function and in 5 seconds, you fire the overlay. That will give us the clue as to how to fire a specific div in response to an event.

@halukkaramete
Copy link
Author

Never mind. I figured it.

jQuery('#yourDivision').modal({
fadeDuration: 250
});

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

1 participant