jquery-modal icon indicating copy to clipboard operation
jquery-modal copied to clipboard

how to you programmatically pop an overlay?

Open halukkaramete opened this issue 5 years ago • 1 comments

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 avatar Apr 19 '20 09:04 halukkaramete

Never mind. I figured it.

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

halukkaramete avatar Apr 19 '20 10:04 halukkaramete