Changeset 802970
- Timestamp:
- 11/12/2013 08:52:35 AM (12 years ago)
- Location:
- uk-cookie-consent/tags/1.5
- Files:
-
- 2 edited
- 1 copied
-
. (copied) (copied from uk-cookie-consent/trunk)
-
readme.txt (modified) (1 diff)
-
uk-cookie-consent.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uk-cookie-consent/tags/1.5/readme.txt
r701657 r802970 49 49 == Changelog == 50 50 51 = 1.5 = 52 Switched the logic so that the bar is initially hidden on the page and only displays if user has not previously dismissed it. 53 Gives a slightly better performance. 54 Thanks to chrisHe for the suggestion. 55 51 56 = 1.4.2. = 52 57 Policy page created on register_activation_hook now -
uk-cookie-consent/tags/1.5/uk-cookie-consent.php
r701657 r802970 5 5 Description: 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. 6 6 Author: Catapult 7 Version: 1. 4.27 Version: 1.5 8 8 Author URI: http://catapultdesign.co.uk/ 9 9 */ … … 234 234 <style type="text/css" media="screen"> 235 235 #catapult-cookie-bar { 236 display: none; 236 237 direction: ltr; 237 238 color: ' . $text_colour . '; … … 268 269 <script type="text/javascript"> 269 270 jQuery(document).ready(function(){ 270 if( catapultReadCookie("catAccCookies")){//If the cookie has been set271 jQuery("#catapult-cookie-bar"). hide();271 if(!catapultReadCookie("catAccCookies")){//If the cookie has been set 272 jQuery("#catapult-cookie-bar").show(); 272 273 jQuery("html").css("margin-top","0"); 273 274 }
Note: See TracChangeset
for help on using the changeset viewer.