Class active on “cookie-law-info-bar”
-
Hi,
How it’s possible to add an active class on “cookie-law-info-bar” div ?
I already tried this, it’s work but active class stay when the bar disappear :
if(jQuery(cli_bar).length < 0) { jQuery('#cookie-law-info-bar').addClass('cli-bar-active'); }
I want an active class on “cookie-law-info-bar”, to move an another div when “cookie-law-info-bar” is shown or hidden.
I’ve already tried code below to detect display none, no success too :
if $('#cookie-law-info-bar').css('display') == 'none') {
Regards.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Class active on “cookie-law-info-bar”’ is closed to new replies.