|File Size:||12.5 KB|
|Official Website:||Go to website|
A lightweight jQuery plugin that displays a cookie based age verification popup for your visitors to confirm their age before viewing the content of your website.
How to use it:
1. Load the Age Verification CSS for basic popup styles.
<link href="css/age-verification.css" rel="stylesheet">
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
3. Load the jQuery Age Verification plugin after loading jQuery library.
4. That's it. Edit the
age-verification.js script to create your own verification messages.
- Fixed missing symbol
- Update age-verification.js
- The av_positionPrompt function doesn't get attached to the window's resize event unless it's needed.