EU Cookie Law on Horizon Web

As you will now have noticed it is an EU requirement that your website displays a message on how your site uses cookies.

You can contact ECI Bluesky Support for a script which will do the job for most users. However, it does not work across all browsers.

To add the cookie warning as seen here to your site do the following:

1) Log on to your web sites admin page. Add the following to code in the CSS Editor and Save Changes

.CookieShow
{
display:block;
position: fixed;
padding: 8px 21px;
z-index: 10000;
background-color: rgba(0,0,0,0.85);
bottom:30px;
right:30px
}
.CookieHide
{
display:none;
position: fixed;
padding: 8px 21px;
z-index: 10000;
background-color: rgba(0,0,0,0.85);
bottom:-1000px;
left:-1000px
}

2) Go to Overrides and the Additional Header section and add the following:

<div id=”cookiemessage”>

<p>We use cookies to help provide you with the best possible online experience.</p>

<p>By using this site, you agree that we may store and access cookies on your device.</p>

<a href=”javascript:;” onClick=”acceptcookies();”>Click here to hide message</a> </div>

<script type=”text/javascript”>

<!–

if (document.cookie.indexOf(“allowcookies”) == -1) { document.getElementById(‘cookiemessage’).className=’CookieShow’; }

else { document.getElementById(‘cookiemessage’).className=’CookieHide’;  }

function acceptcookies()

{

document.cookie = “allowcookies=1;expires=Mon, 23 Jul 2040 22:00:00 GMT”;

window.location.reload();

}

//–>

</script>

3) Save Settings.

You should now see a box at the bottom right of the screen.

If you are wondering why I’ve put it on the bottom right, when it is on the bottom left on the example site? Because I can’t click on the admin link when it is on the bottom left!