Last active
April 21, 2016 18:19
-
-
Save d0n601/dd393b7a72cd4ef5b645 to your computer and use it in GitHub Desktop.
Initialize Drinking Age Gateway
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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