Answer the question
In order to leave comments, you need to log in
What report builder for a web project on postgresql + python would you recommend?
The project needs to create reports from the database using simple arithms. actions. Please advise wizard to create online
Answer the question
In order to leave comments, you need to log in
html
<a class="on" href="javascript:;">Включить</a>
<a class="off" href="javascript:;">Выключить</a>
<div class="text">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequatur, molestiae!
</div>
.text {
display: none;
}
.on {
&.is-active {
color: green;
}
}
.off {
&.is-active {
color: grey;
}
}
$on = $('.on');
$off = $('.off');
$text = $('.text');
active = 'is-active';
$on.click(function() {
$text.fadeIn(300);
$on.addClass(active);
$off.removeClass(active);
})
$off.click(function() {
$text.fadeOut(300);
$on.removeClass(active);
$off.addClass(active);
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question