carlsednaoui / ouibounce

Increase your landing page conversion rates.
MIT License
2.31k stars 373 forks source link

Fire on click or other actions? #76

Closed visiblybetter closed 9 years ago

visiblybetter commented 9 years ago

Hi,

I've seen the docs about the API but am wondering exactly what modal.fire(); does?

Can it be used to show the modal in any of the following scenarios?

1) Clicking a link or button 2) Scrolling until an element with a specific ID appears 3) After a delay of X seconds on a given page

carlsednaoui commented 9 years ago

@visiblybetter it's just a manual way to fire the modal. If you build any of the logic for 1, 2, 3 then yes, you can achieve this.