Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Initialize Drinking Age Gateway
$(function() {
//Settings for drinkingAge Plugin
var settings = {
"image" : 'http://placehold.it/350x150',
"message" : "As part of our commitment to responsible drinking, we just need to check that you're of legal drinking age.",
"redirect" : 'http://responsibility.org',
"deny_message" : "Sorry, but you are not of legal drinking age.<br>You'll be redirected soon...",
"deny_timeout": 5000,
"link_terms" : '/terms',
"link_privacy" : '/privacy'
};
//Initiate bouncer.js (drinkingAge)
drinkingAge(settings);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment