Plugin Directory

Changeset 802970


Ignore:
Timestamp:
11/12/2013 08:52:35 AM (12 years ago)
Author:
Catapult
Message:

Tagging 1.5

Location:
uk-cookie-consent/tags/1.5
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • uk-cookie-consent/tags/1.5/readme.txt

    r701657 r802970  
    4949== Changelog ==
    5050
     51= 1.5 =
     52Switched the logic so that the bar is initially hidden on the page and only displays if user has not previously dismissed it.
     53Gives a slightly better performance.
     54Thanks to chrisHe for the suggestion.
     55
    5156= 1.4.2. =
    5257Policy page created on register_activation_hook now
  • uk-cookie-consent/tags/1.5/uk-cookie-consent.php

    r701657 r802970  
    55Description: Simple plug-in to help compliance with the UK interpretation of the EU regulations regarding usage of website cookies. A user to your site is presented with a clear yet unobtrusive notification that the site is using cookies and may then acknowledge and dismiss the notification or click to find out more. The plug-in does not disable cookies on your site or prevent the user from continuing to browse the site - it comes with standard wording on what cookies are and advice on how to disable them in the browser. The plug-in follows the notion of "implied consent" as described by the UK's Information Commissioner and makes the assumption that most users who choose not to accept cookies will do so for all websites.
    66Author: Catapult
    7 Version: 1.4.2
     7Version: 1.5
    88Author URI: http://catapultdesign.co.uk/
    99*/
     
    234234        <style type="text/css" media="screen">
    235235            #catapult-cookie-bar {
     236                display: none;
    236237                direction: ltr;
    237238                color: ' . $text_colour . ';
     
    268269    <script type="text/javascript">
    269270        jQuery(document).ready(function(){
    270             if(catapultReadCookie("catAccCookies")){//If the cookie has been set
    271                 jQuery("#catapult-cookie-bar").hide();
     271            if(!catapultReadCookie("catAccCookies")){//If the cookie has been set
     272                jQuery("#catapult-cookie-bar").show();
    272273                jQuery("html").css("margin-top","0");
    273274            }
Note: See TracChangeset for help on using the changeset viewer.