Hi Richard,
thank you for the answer.
We noticed the help button “?” and we read all the information in that window and in the developer documentation page, but it does not solve our problem.
In the HTML box of custom cookie bar we wrote:
<div id="cookiebanner" lang="[#LANGUAGE#]" dir="[#TEXTDIRECTION#]" ng-non-bindable>
<div id="c-left">
<p class="c-header">[#TITLE#]</p>
<p class="c-message">[#TEXT#]</p>
</div>
<div id="c-right">
<a href="javascript:void(0)" onclick="Cookiebot.dialog.submitConsent()" class="c-button">Acconsento</a>
<a href="javascript:void(0)">[#DETAILS#]</a>
</div>
<div style="clear:both"></div>
</div>
and in the javascript function box we have:
var cookieBannerSliderPos = 0;
function showCookieBanner() {
var cookiebanner = document.getElementById("cookiebanner");
var dialogHeight = parseInt(cookiebanner.offsetHeight);
cookiebanner.style.bottom = (cookieBannerSliderPos - dialogHeight) + "px";
cookieBannerSliderPos += 4;
if (cookieBannerSliderPos < dialogHeight) {
setTimeout(function () {
showCookieBanner();
}, 1);
} else {
cookieBannerSliderPos = 0;
cookiebanner.style.bottom = "0px";
}
}
function hideCookieBanner() {
var cookiebanner = document.getElementById("cookiebanner");
cookiebanner.style.display = "none";
}
window.addEventListener('CookiebotOnDialogInit', function (e) {
CookiebotDialog.multiAcceptText = "Acconsento a tutti";
}, false);
As you can note seeing the site page staging.beperfectlifestyle.com, by clicking the button “Impostazioni” (=”Details” toggle) we do not obtain any results, and we do not understand how this piece of code, in particular the metasyntactic html variable [#DETAILS#], can give us all the requested data (the table with list of cookie and the javascript code to show/hide that table).
Hope this help you to better understand the issue.
Thank you.
Kind regards,
Gianfranco