jquery-modal
jquery-modal copied to clipboard
how to you programmatically pop an overlay?
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.
Never mind. I figured it.
jQuery('#yourDivision').modal({ fadeDuration: 250 });