Cookie v1.0

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



Details

Author
Stella Morey
Current version
v1.0
GitHub
manideepami/cookie
Downloads
882
Category
Interface
Tags
Report
GitHub Issues

Releases


How to use

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);
//});
//}

License

Copyright © Stella Morey

Licensed under the MIT license.


Including It On Your Page


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