Hi Yellowled, many thanks for your response ........
Now that I've calmed down (!!!) there's not much in the previous two responses that is of much help, is there ?
Here's the one I'm using on a glFusion site - you can see it in action at
http://www.idhsgb.com/web/
This is the one I'd like to use, if it will work on every page ...
Instructions
Code: Select all
To install it correctly, place the files or the code within, in their
proper places. Follow the example in the header.thtml file and place
the JS file in the proper directory. Place the CSS code in your style.css
file accordingly.
Code to insert in index.tpl?
Code: Select all
<!-- ADD THIS TO YOUR HEADER.THTML FILE -->
<!-- THIS SCRIPT BROUGHT YOU BY SPACEQUAD INTERNET SERVICES - PLEASE SEND ALL INQUIRIES TO http://www.spacequad.net/profiles.php?uid=3 -->
<script type="text/javascript" src="http://dev.spacequad.com/javascript/eucookies.js"></script>
<div class="eucookieoptinpanel" id="eucookieoptinpanel" style="visibility:hidden;">
<strong>EU Cookie Law Opt-in</strong>
<br/><br/>
On May 26th 2011 the EU brought into effect a new "Cookie Law". This law requires web-sites to obtain informed consent from visitors before transmitting or requesting information from their web browsing device.
<br/>
This website uses Cookies from Google Analytics and also as part of its content management system. Disabling these Cookies will affect the functionality of this site. For more information to make an informed decision to accept our cookies please see our <a href="/privpol.php">Privacy & Cookies statement</a><br /><br /><strong>You will need to re-enter our URL in your browser bar or a page cannot be found error might popup.</strong>
<br/><br/>
<form action="" method="post" name="eucookieoptinform" id="eucookieoptinform">
<input type="checkbox" id="optin" name="optin" onclick="euoptinhandler(this);"/> <strong>I agree to accept cookies from this site.</strong>
</form>
</div>
<script>eucookiehandler();</script>
<!-- END OF EU-COOKIE SCRIPT -->
Stylesheet code
Code: Select all
/* Custom Code */
/* Cookie Code */
.eucookieoptinpanel
{
position: fixed;
left: auto;
right: auto;
bottom: 0px;
height:175px;
width: 97%;
color:rgb(255,255,255);
background:rgb(200,0,0);
opacity: 0.95;
text-align:center;
border-top: 2px solid black;
border-bottom: 2px solid black;
}
/* End Cookie Code */
Many thanks again
Dave