The EU cookie law went into effect in the UK in May 2012. UK's implementing guidance requires web sites to: Inform site visitors when a site uses cookiesExplain what the non-essential cookies are and what they doObtain consent to store non-essential cookies on the visitor's device For more information, please see this nice "Everything You Need to Know About the Cookie Law in Five Minutes" article. Accept Cookies / Cookie Consent Bar Demo: http://fofwebdesign.co.uk/template/_...ie-consent.htm ...
Updated 08-21-2015 at 05:54 PM by Beverleyh
Ever wanted to flag newly added content to individual visitors, and then remove the flag once they've read it? Here's how to do it using local storage (like cookies) to save tracked, internal links on your website. Demo: Tracked 'New' Links http://fofwebdesign.co.uk/template/_...g/new-content/ Where you might use this script - to indicate new and unread blog entries - to highlight important notices on your home page - to track read chapters of ...
Updated 05-26-2015 at 01:10 PM by Beverleyh
Here is a simple PHP script to change stylesheets or load in alternative content (conditional loading), with cookies to store user selection. The nice thing about a PHP-based solution over JavaScript content/CSS switchers, is that all the checking and switching is done on the server side, before the web page even finds it's way to the browser, so you don't get any flash of unstyled content. Plus, you can conditionally load HTML or external files (improve performance and save on load ...
Updated 12-20-2014 at 06:55 AM by Beverleyh