• SS

    (@sidupandyes)


    Hi Phill,

    First of all, I really appreciate your work. This is life saver plugin for us. I just can’t thank you enough.

    We are wondering how to show custom success message after passing age gate and before showing website ?

    just like error message we show when people fail age gate. Hope this make sense.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter SS

    (@sidupandyes)

    We can achieve that using “agegatepassed” event listener but i want to retain “age-gate-wrapper” <div class="age-gate-wrapper"> so that overall user experience will be same ( we have designed that in such a way it looks like popup )

    Plugin Author Phil

    (@philsbury)

    Hi @sidupandyes,

    What you might be able to do (which is a bit convoluted!) is to turn on one of the transitions to remove the age gate (in appearance I think). In your css, add a transition-delay, let’s say transition-delay: 2s;… then on the agegatepassed event something like:

    
    jQuery('.age-gate-form').html('<div class="message">Your success message</div>');
    

    I’ve not had chance to test it but if the above doesn’t help I’ll happily take a look when I get home this evening

    Cheers
    Phil

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom SUCCESS message?’ is closed to new replies.