Cookie Notice 0.1

This is a simple plugin which either uses MooTools (or jQuery, working on it) to add a nice Cookie notice bar to your site.



Details

Author
Doeke Norg
Current version
0.1
GitHub
doekenorg/Cookie-Notice
Downloads
2584
Category
Interface
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_:
    • core/1.2.5:Element
    • core/1.2.5:Cookie

How to use

Include MooTools (or in the future jQuery), the Twitter Bootstrap CSS and include cookie-notice.js. Set your options in cookie-notice.js

Now you'll have a nice notice bar so your customers / users will know you use cookies. Which we all do, because of Facebook, Google analytics, etc.


Requires

  • A website
  • MooTools (with cookie-support)
  • (a jQuery version will come soon)
  • Twitter Bootstrap CSS

Options

  • position | Can either be top or bottom
  • contentWidth | Width of the element that has te notice. (Default = 650). Element wil be centered, not the text.
  • message | The actual notice message
  • okText | Text the ok button wil have (Default= "Ok");
  • moreInfoText | Text the more info button wil have in case of "moreInfoLink"
  • moreInfoLink | link to a page with your cookie policy
  • cookieName | Name of the cookie that will be used to save you acceptance

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus