Creating cookies and modifying visibility on jQuery widget on Magento website

Creating cookies and modifying visibility on jQuery widget on Magento website

Closed - This job posting has been filled and work has been completed.

Job Description

Here is the task:

Integrate the Jquery cookie script on the website:

Info: https://github.com/carhartl/jquery-cookie

#bottomfixtab is a small pop up tab on the bottom with an ad - it has an X button to close it - You would be required to set that close (either jQuery .hide or preferably height .toggle command that would trigger on click) and set a cookie that would last 24 hours, so the tab would not open again on other pages on the site.

http://screencast.com/t/IRyxr6gzAr

Current code i've tried doing something but couldn't make it work:
-----------------

$(document).ready(function() {
$('#clickmebottom').click(function() {
$.cookie('toggledDiv');
$('#bottomfixtab').hide();
});
});

-----------------

$(document).ready(function() {
$('#clickmebottom').click(function() {
$.cookie('toggledDiv');
$('#bottomfixtab').animate({
height: 'toggle'
}, 350 );
});
});

------------------

#clickmebottom is the X button, #bottomfixtab is the div with the bottom ad/banner

Note that this is working on a Magento installation, so knowledge of jQuery noConflict will help.

If you understand the task and want the job, please include "Totally Serious" in your application and quickly outline how you would solve this.

Other open jobs by this client