GDPR Cookie Law jQuery GDPR Compliance Plugin Example

GDPR Cookie Law – GDPR Cookie Compliance Plugin example – Theme: theme-light

For the best user experience on the demo site, the cookies are automatically deleted. This way you can always see the notification toolbar.
Theme: theme-light
Example code
<link rel="stylesheet" href="http://your-domain.com/gdpr-cookie-law/css/gdpr-cookie-law.min.css">
<script src="http://your-domain.com/gdpr-cookie-law/js/jquery-3.3.1.min.js"></script>
<script src="http://your-domain.com/gdpr-cookie-law/js/gdpr-cookie-law.min.js"></script>
<script>
$(document).ready(function () {
    $(document).gdprCookieLaw({
        moreLinkHref: 'http://your-domain.com/privacy-policy',
        theme: 'theme-light'
    });
});
</script>
Related options
Peoprty Possible Values Default Value Description
moreLinkHref URL e.g. 'http://your-domain.com/privacy-policy' null The href attribute of the 'More information' link.
theme e.g. null, 'theme-dark', 'theme-light', 'theme-1', 'theme-2', ... 'theme-10', and 'theme-light-1', 'theme-light-2' ... 'theme-light-10', etc. null The theme of the box. If you set a theme the following options do not apply: background color, background color opacity and the font color of the box, the 'More information' link font color, background color and font color of the accept button (included the hover, focus and active states).