A lightweight, skinnable jQuery plug-in created to handle the newly introduced EU Cookie Legislation
1. Choose a skin
You can choose an existing jQuery UI* theme from below, or
roll your own and link to your CSS file in the same way
2. Create your consent levels
The cookie consent plug-in comes with four default levels for the user to choose from (the same as the demo on this page).
If you'd prefer to create your own, however, you can fill in the boxes below.
3. Supply an 'edit settings' element
Your users will need a way to change their settings.
Supply an element here which when clicked will display the options you've defined above.
By law you must have a page on your site explaining how cookies are used on your site and how you manage personal data.
If this property is not supplied here, you should have a link elsewhere on your website.
What about 3rd party scripts?
- add a cookieconsent-level attribute to it, who's value is the id of the level it's dependant on
Let's say you've got a level with id 'tracking' and you had a script that should run only when the tracking level is enabled.Instead of having
<script type="text/plain" cookieconsent-level="tracking">