Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
jquery-1.7.2.min.js | 2012-05-30 | 94.8 kB | |
jquery.cookie.js | 2012-05-30 | 2.0 kB | |
cookieSelect.js | 2012-05-30 | 1.0 kB | |
Totals: 3 Items | 97.8 kB | 0 |
Cookie Select - A simple jQuery [I hesitate to call it a] module that allows you to display information about your web site cookies and a simple mechanism for the user to accept. How it works? Add the pre-requsite files, cookieSelect.js, jquery.js and jquery.cookie.js to your page(s). You then add a div to your page(s) or template, with an id and reference it with a call to cookieSelect(). See the sample index.html file. You can set a few basic options, such as which selector in your notification markup you want to trigger the 'accept' and what the message page content [loaded by ajax] is called. Just download the files and see it in action. It's intentionally very simple and the markup, script and styling are [as much as possible] kept separate so you can use the basic script to do the work, but style it up as you need to. I might do a few samples just to help with ideas, but we'll see. Ed/