Wednesday, June 1, 2016

IMU and Tasi 2016: every facility – greenMe.it

‘); } Else {jQuery ( ‘body’). Prepend ( ”); } // Add appropriate CSS DEPENDING ON position chosen if (cookieDiscreetPosition == “topleft”) {jQuery ( ‘div.cc-cookies’). Css ( “top”, “0″); jQuery ( ‘div.cc-cookies’). css ( “left”, “0″); } If (cookieDiscreetPosition == “topright”) {jQuery ( ‘div.cc-cookies’). Css ( “top”, “0″); jQuery ( ‘div.cc-cookies’). css ( “right”, “0″); } If (cookieDiscreetPosition == “bottomleft”) {jQuery ( ‘div.cc-cookies’). Css ( “bottom”, “0″); jQuery ( ‘div.cc-cookies’). css ( “left”, “0″); } If (cookieDiscreetPosition == “bottomright”) {jQuery ( ‘div.cc-cookies’). Css ( “bottom”, “0″); jQuery ( ‘div.cc-cookies’). css ( “right”, “0″); }} Else if (cookieResetButton) {if (appOrPre) {jQuery ( ‘body’). Append ( ”); } Else {jQuery ( ‘body’). Prepend ( ”);
                 }
             } Else {
                 cookieResetButton var = “”;
             }
         } Else {
             // Add message to just after opening body tag
             if ((cookieNoMessage) & amp; & amp; (! cookiePolicyPage)) {
                 // Show no link on any pages APART from the policy page
             } Else if ((cookieDiscreetLink) & amp; & amp; (! CookiePolicyPage)) {// show discreet link
                 if (appOrPre) {
                     jQuery ( ‘body’). append ( ”); } Else {jQuery ( ‘body’). Prepend ( ”); } // Add appropriate CSS DEPENDING ON position chosen if (cookieDiscreetPosition == “topleft”) {jQuery ( ‘div.cc-cookies’). Css ( “top”, “0″); jQuery ( ‘div.cc-cookies’). css ( “left”, “0″); } If (cookieDiscreetPosition == “topright”) {jQuery ( ‘div.cc-cookies’). Css ( “top”, “0″); jQuery ( ‘div.cc-cookies’). css ( “right”, “0″); } If (cookieDiscreetPosition == “bottomleft”) {jQuery ( ‘div.cc-cookies’). Css ( “bottom”, “0″); jQuery ( ‘div.cc-cookies’). css ( “left”, “0″); } If (cookieDiscreetPosition == “bottomright”) {jQuery ( ‘div.cc-cookies’). Css ( “bottom”, “0″); jQuery ( ‘div.cc-cookies’). css ( “right”, “0″); }} Else if (cookieAnalytics) {// show analytics overlay if (appOrPre) {jQuery ( ‘body’). Append ( ”); } Else {jQuery ( ‘body’). Prepend ( ”); }} If (cookiePolicyPage) {// show policy page if overlay (appOrPre) {jQuery ( ‘body’). Append ( ”); } Else {jQuery ( ‘body’). Prepend ( ”);
                 }
             } Else if ((! CookieAnalytics) & amp; & amp; (! CookieDiscreetLink)) {// show privacy policy option
                 if (appOrPre) {
                     jQuery ( ‘body’). append ( ‘

‘ + + cookieMessage cookieAccept cookieDecline + + ‘

‘); } Else {jQuery ( ‘body’). Prepend ( ‘

‘ + + cookieMessage cookieAccept cookieDecline + + ‘

‘);
                 }
             }
         }
         if ((cookiecutter) & amp; & amp; (! cookieCutterDeclineOnly) & amp; & amp; ((jQuerycookieDeclined) || (! jQuerycookieAccepted))) {
             jQuery (cookieDisable) .html ( ”);
         }
         if ((cookiecutter) & amp; & amp; (cookieCutterDeclineOnly) & amp; & amp; (jQuerycookieDeclined)) {
             jQuery (cookieDisable) .html ( ”);
         }
         // If bottom is true, switch div to bottom if not in discreet mode
         if ((cookieNotificationLocationBottom) & amp; & amp; (! cookieDiscreetLink)) {
             jQuery ( ‘div.cc-cookies’). css ( “top”, “car”);
             jQuery ( ‘div.cc-cookies’). css ( “bottom”, “0″);
         }
         if ((cookieNotificationLocationBottom) & amp; & amp; (cookieDiscreetLink) & amp; & amp; (cookiePolicyPage)) {
             jQuery ( ‘div.cc-cookies’). css ( “top”, “car”);
             jQuery ( ‘div.cc-cookies’). css ( “bottom”, “0″);
         }
         // Setting the cookies
 
         // For top bar
         jQuery ( ‘. cc-cookie-accept, .cc-cookie-decline’). click (function (e) {
             e.preventDefault ();
             if (jQuery (this) .is ( ‘[= # hrefjQuery decline]‘)) {
                 jQuery.cookie ( “cc_cookie_accept”, null, {
                     path: ‘/’
                 });
                 jQuery.cookie ( “cc_cookie_decline”, “cc_cookie_decline”, {
                     expires: cookieExpires,
                     path: ‘/’
                 });
                 if (options.cookieDomain) {
                     // Kill google analytics cookies
                     jQuery.cookie ( “__ utma”, null, {
                         domain: ‘.’ + Options.cookieDomain,
                         path: ‘/’
                     });
                     jQuery.cookie ( “__ utmb”, null, {
                         domain: ‘.’ + Options.cookieDomain,
                         path: ‘/’
                     });
                     jQuery.cookie ( “__ UTMC”, null, {
                         domain: ‘.’ + Options.cookieDomain,
                         path: ‘/’
                     });
                     jQuery.cookie ( “__ utmz”, null, {
                         domain: ‘.’ + Options.cookieDomain,
                         path: ‘/’
                     });
                 }
             } Else {
                 jQuery.cookie ( “cc_cookie_decline”, null, {
                     path: ‘/’
                 });
                 jQuery.cookie ( “cc_cookie_accept”, “cc_cookie_accept”, {
                     expires: cookieExpires,
                     path: ‘/’
                 });
             }
             jQuery ( “. cc-cookies”). fadeOut (function () {
                 // Reload page to activate cookies
                 location.reload ();
             });
         });
         // Reset cookies
         jQuery ( ‘a.cc-cookie-reset’). click (function (f) {
             f.preventDefault ();
             jQuery.cookie ( “cc_cookie_accept”, null, {
                 path: ‘/’
             });
             jQuery.cookie ( “cc_cookie_decline”, null, {
                 path: ‘/’
             });
             jQuery ( “. cc-cookies”). fadeOut (function () {
                 // Reload page to activate cookies
                 location.reload ();
             });
         });
         // Accept cookies error
         jQuery ( ‘. cc-cookies-error a.cc-cookie-accept’). click (function (g) {
             g.preventDefault ();
             jQuery.cookie ( “cc_cookie_accept”, “cc_cookie_accept”, {
                 expires: cookieExpires,
                 path: ‘/’
             });
             jQuery.cookie ( “cc_cookie_decline”, null, {
                 path: ‘/’
             });
             // Reload page to activate cookies
             location.reload ();
         });
     };
 }) (JQuery);
 
 
 

LikeTweet

No comments:

Post a Comment