NadezdaG
1/23/2017 - 2:02 PM

jquery-cookie

jquery-cookie

  if (jQuery.cookie('cookies')=="accepted") {
    jQuery("#cookieBar").hide();
  }
   jQuery("#cookieBar button").click(function () {
     jQuery(this).parent().slideUp(800);
     jQuery.cookie('cookies', 'accepted');
   });