This plugin is a mootools adaptation on how to add cookie section for your website where every browser may or maynot handle cookies.JQuery COOKIE
Source: GreyCampus
To set a cookie
//Showing modal form after cookie expired
//if(Cookies.get('hiddenModalShow') === undefined)
//{
Syntax
Cookies.set('name', 'value',{expires:value})
//Cookies.set('hiddenModalShow', '1', { expires: 0.5/48 });
//$(window).load(function()
//{
//setTimeout(function(){
//$('#hiddenModal').modal('show');
//}, 10000);
//});
//}
Copyright © Stella Morey
Licensed under the MIT license.
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