Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple jQuery plugin to show a banner on your site helping to explain your use of cookies on your site. (uses implied consent)
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
cookie-page.md
jquery.oneltdCookieBanner.js
readme.md

readme.md

One Ltd Cookie Banner plugin

This plugin can be used to display a message on your website helping to explain your cookie policy. It works with implied consent from the user and sets a cookie to not display the message again. The message can be dismissed using the continue button which will slide away the banner.

The plugin writes a 2 year cookie with the key oneltd-cookie-controller to prevent the message from appearing multiple times.

Uses jQuery.cookie.js plugin (included): https://github.com/carhartl/jquery-cookie

Options

bgColor: #333
textColor: #fff
location: top
cookiePage: /cookies
longMessage: false

Usage

Simply include the script in your webpage and call the following line:

$.oneltdCookieBanner();

Cookie page

There is also an example of content for your privacy/cookies page, you can use the Cookie Cat plugin for Wordpress to display a table of the cookies being used on your site.

Something went wrong with that request. Please try again.