WebSite X5Help Center

 
Borut K.
Borut K.
User

JS cookies warning problem  en

Автор: Borut K.
Просмотрено 2227, Подписчики 1, Размещенный 0  
Тэги: 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

Размещено
2 Ответы - 1 Корректно
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

Читать больше
Размещено От Michele C.
Borut K.
Borut K.
User
Автор

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!

Читать больше
Размещено От Borut K.