GDPR Cookie Law jQuery GDPR Compliance Plugin Example

GDPR Cookie Law – GDPR Cookie Compliance Plugin example – Animation: fade-slide

For the best user experience on the demo site, the cookies are automatically deleted. This way you can always see the notification toolbar.
Animation: fade-slide
<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',
        animationStatus: true,
        animationDuration: 500,
        animationName: 'fade-slide'
    });
});
</script>
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.
animationStatus true, false true The animation status of the box.
animationDuration e.g. 500, 1000, etc. 500 The duration time of the animation in milliseconds.
animationName null, 'fade', 'slide', 'fade-slide' 'fade' The type of the animation.