This example shows the option for users to decline cookies. Upon decling, the page is refreshed after cookies have been deleted. The user will now be browsing the website without cookies. Bare in mind that if a user declines cookies, you need to ensure that everywhere your website could create a cookie checks to see the status of the cookie bar's cookie. If it says declined/disabled, you should not be creating any cookies.
Code for this example:
For more information about PrimeBox's CookieBar plugin, go to www.primebox.co.uk/projects/cookie-bar/.