Hi guys,
If I reload the page in my browser, the cookie hint will disappear and necessary cookies will be accepted. But that's not how it should work - in Germany.
If you reload the page with not accepting the cookie, the cookie, the box should appear again. (Window.location?) - I'm not so deep in JS...
Would be great to have a solution for this.
Some other issues I fixed for me:
First - don't want to close the modal on click outside and inside the Box. Only if you click the buttons... See AHK Comments.
Second: Same stuff, but inside the box.
$( ".info-hide" ).click(function() {
$(this).parent().hide();
// AHK: You can't close the hint by clicking inside the box outside the buttons - Hide the X via CSS
$(this).parent().prev().show();
});
$( ".cookieclose" ).click(function() {
$(".waconcookiemanagement").show();
});
var $menu = $('#CookieBox');
$(".waconcookiemanagement").on('click', function (e) {
// AHK: If element is opened and click target is outside it, show it
if ($menu.is(':visible') && !$menu.is(e.target) && !$menu.has(e.target).length) {
$(".waconcookiemanagement").show();
}
Hi guys, If I reload the page in my browser, the cookie hint will disappear and necessary cookies will be accepted. But that's not how it should work - in Germany.
If you reload the page with not accepting the cookie, the cookie, the box should appear again. (Window.location?) - I'm not so deep in JS... Would be great to have a solution for this.
Some other issues I fixed for me:
First - don't want to close the modal on click outside and inside the Box. Only if you click the buttons... See AHK Comments. Second: Same stuff, but inside the box.
$( ".info-hide" ).click(function() { $(this).parent().hide(); // AHK: You can't close the hint by clicking inside the box outside the buttons - Hide the X via CSS $(this).parent().prev().show(); }); $( ".cookieclose" ).click(function() { $(".waconcookiemanagement").show(); }); var $menu = $('#CookieBox'); $(".waconcookiemanagement").on('click', function (e) {
});