WebSite X5Help Center

 
Borut K.
Borut K.
User

JS cookies warning problem  en

Autore: Borut K.
Visite 1891, Followers 1, Condiviso 0  
Parole Chiave: cookies

Please can you help me what i am doing wrong.

I want to put cookies warning mesage in js, which i downloded from here:

https://github.com/Scott-Herbert/CookieWarning/blob/master/js/cookiewarning2.js

I save it on new folder js, on my disk/WebSite X5 - Spletne strani(web site).

In index page, i put this @<script language="JavaScript" type="text/javascript" src="js/cookiewarning.js"></script>@ (without monkey)

and link to js file. Picture 2.jpg

In IE and firefox, when I click agree or disagre it work corecct, but in chrome do not want to close, whatever I click. Picture 1.jpg (how i send two picture Embarassed ?

The same is hapened if I put the script language etc.... in general setings, before head, before body, after body.

Is there any easy way for this cookies mesage. I have google analytic and I need this warning.

Sorry for my english

Borut

Postato il
2 RISPOSTE - 1 CORRETTO
Incomedia
Michele C.
Incomedia

Hello Borut,

unfortunately I cannot help you with custom code, but if it works with some browsers and not with Chrome maybe the issue is withnin the plugin itslef and you should refer to the plugin author's site.

hope this helps

Leggi di più
Postato il da Michele C.
Borut K.
Borut K.
User
Autore

I was delete ga.js Laughing I have all info about analytik in server where web site and domain is hosted, so I do not need this cookie from google for now.

Thanks!

Leggi di più
Postato il da Borut K.