Cookies for SlideToggle
I am implementing on a project where a footer has a option to close for an user,if it's closed next time on page load it will not show again.
I am trying to implement it's my code using jquery cookies plugin.I am stuck at somewhere around.
$(".toggle-close").click(function(){
if ($.cookie('toggler') == null) {
$(".footer-container").slideToggle("slow");
$.cookie('toggler','7');
}
});
Help is needed.
0