Answer the question
In order to leave comments, you need to log in
How to hide 1 block when opening another?
I tried to write a code in JQuery that if one block has the display property equal to block, then the stroke of the other one disappears.
var $menutf = $('.navtf').css('display');
if ($menutf == 'block') {
$('header').css({
"border": "0"
});
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question