/** * @fileoverview Cookiepack v3.1 * @author Marcin Bogusz * @copyright Copyright (c) Fresh Solutions Sp. z o.o. */ $(function() { var url = '/polityka-cookies.html'; if(!$.cookie('cookie_info')) { var html = '
' + '
' + '
' + 'We inform that we use cookies to remember user settings and preferences. You can change settings of this files in options of the browser. If you continue to use this website we will assume you consent to our use of cookies. You can get more information in cookies policy.' + '
' + '
' + ' ' + ' zamknij' + ' ' + '
' + '
' + '
' + '
'; $('body').append(html); var $info = $('body').find('#info'); var $infoText = $('#info .infoText'); $info.css({ 'height' : $infoText.outerHeight() + 'px' }); $info.find('.close').click(function() { $info.animate({ 'bottom' : (-1 * $info.outerHeight()) + 'px' }, function() { $info.remove(); $.cookie('cookie_info', true, { path: '/', expires: 3650 }); }); return false; }); $(window).resize(function() { $info.css({ 'height' : $infoText.outerHeight() + 'px' }); }); } });