Cookiewet niet zichtbaar

Status
Niet open voor verdere reacties.

bhofkens

Gebruiker
Lid geworden
19 jan 2008
Berichten
228
Beste Persoon,

Ik ben bezig met de cookiewet zoals ik die op www.iwad-online.com heb doorgevoerd ook op www.smulnarren en www.dierenkliniekdongemond. Het zit onderaan al wel verwerkt maar hij doet het niet. Kan iemand me helpen of kan ik beter hierbij voor een andere cookiewet script kiezen. Voorbeeld:

HTML:
<script src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script> <script src="resource/cookieControl-5.1.min.js" type="text/javascript"></script>
<script type="text/javascript">//
<![CDATA[   cookieControl({       
introText:'<p>Dierenkliniek Dongemond gebruikt cookies voor bezoekers aantallen</p>',       
fullText:'<p>Dierenkliniek Dongemond gebruikt Google Analytics om uw gebruik van onze websites te analyseren, zodat we functionaliteiten daarop kunnen aanpassen.<a href=""></a></p>',       
position:'left', // left or right       //
shape:'diamond', // triangle or diamond       
theme:'light', // light or dark       
startOpen:true,       
autoHide:10000,       
subdomains:true,       
protectedCookies: [], //list the cookies you do not want deleted ['analytics', 'twitter']       
consentModel:'implicit',      
onAccept:function(){ccAddAnalytics()},       
 onReady:function(){},       
onCookiesAllowed:function(){ccAddAnalytics()},       
onCookiesNotAllowed:function(){},       
countries:'Netherlands' // Or supply a list ['United Kingdom', 'Greece']       });        
function ccAddAnalytics() {        
 jQuery.getScript("http://www.google-analytics.com/ga.js", function() {           
var GATracker = _gat._createTracker('UA-3706340-19');           
GATracker._trackPageview();         });       }    //]]> </script>

kan iemand me helpen hiermee?
 
Laatst bewerkt:
http://civicuk.com/cookie-law/index
Als ik een aanmaak doet hij het perfect:

PHP:
<script src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script>
<script src="http://www.civicuk.com/cookie-law/downloads/cookieControl-5.1.min.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
  cookieControl({
      introText:'<p>This site uses some unobtrusive cookies to store information on your computer.</p>',
      fullText:'<p>Some cookies on this site are essential, and the site won\'t work as expected without them. These cookies are set when you submit a form, login or interact with the site by doing something that goes beyond clicking on simple links.</p><p>We also use some non-essential cookies to anonymously track visitors or enhance your experience of the site. If you\'re not happy with this, we won\'t set these cookies but some nice features of the site may be unavailable.</p><p>To control third party cookies, you can also adjust your <a href="browser-settings" target="_blank">browser settings</a>.</p><p>By using our site you accept the terms of our <a href="http://www.google.nl">Privacy Policy</a>.</p>',
      position:'left', // left or right
      shape:'diamond', // triangle or diamond
      theme:'light', // light or dark
      startOpen:true,
      autoHide:6000,
      subdomains:true,
      protectedCookies: [], //list the cookies you do not want deleted ['analytics', 'twitter']
      consentModel:'information_only',
      onAccept:function(){ccAddAnalytics()},
      onReady:function(){},
      onCookiesAllowed:function(){ccAddAnalytics()},
      onCookiesNotAllowed:function(){},
      countries:'United Kingdom,Netherlands' // Or supply a list ['United Kingdom', 'Greece']
      });

      function ccAddAnalytics() {
        jQuery.getScript("http://www.google-analytics.com/ga.js", function() {
          var GATracker = _gat._createTracker('');
          GATracker._trackPageview();
        });
      }
   //]]>
</script>
 
Laatst bewerkt:
Ik heb je fout gevonden:
PHP:
<script type="text/javascript" src="style/jquery.js"></script>
Haal deze regel van je pagina(http://www.smulnarren.nl/) of vervang het met een nieuwere versie van jquery


PHP:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
 
Laatst bewerkt:
Daar zit hier het probleem:
<script type="text/javascript" src="resource/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="resource/jquery.js"></script>
 
Verplaatst naar Javascript aangezien het weinig met PHP te maken heeft
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan