Quick Message from Our Sponsors

Trigger Example - Close After X Seconds

This trigger example will close a fake ad after 5 seconds. There are tons of use-cases for this besides ads.


                    closeAfter: 5000, // Make user watch for 5 seconds

                    startOpened: true, // Required
                    startOpenedDelay: 1000, // ms
                    enableEscapeKey: true, // Allow the user to quickly shut this down if unwelcomed
                    clickSelector: '.toggle-panel'