Creating cookies and modifying visibility on jQuery widget on Magento website

Closed - This job posting has been filled and work has been completed.
Web, Mobile & Software Dev Web Development Posted 2 years ago

Fixed Price

Delivery by December 12, 2012

$15.00

Budget

Details

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.


About the Client

(4.95) 13 reviews

Slovenia
Ljubljana 01:25 PM

19 Jobs Posted
85% Hire Rate, 1 Open Job

$1,174 Total Spent
22 Hires, 2 Active

$1.38/hr Avg Hourly Rate Paid
758 Hours

Member Since Jan 13, 2011