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.
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
- A website
- MooTools (with cookie-support)
- (a jQuery version will come soon)
- Twitter Bootstrap CSS
- 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"
- cookieName | Name of the cookie that will be used to save you acceptance
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