chriscook/first-visit-popup

How To set expiration time using this js

Opened this issue · 1 comments

Because When I review the demo then you provide only two properties
cookieName and showAgainSelector
If I need to change expiration time then How Can I change that time
Can you please provide your suggestions.

Thanks

// use this jquery function it will work my side
setTimeout(function(){
$('#my-welcome-message').firstVisitPopup({
cookieName : 'homepage',
showAgainSelector: '#show-message'
});
}, 10000);