Answer the question
In order to leave comments, you need to log in
How to solve the problem with animations and mouse on jQuery?
There is a code
<div class="why-we__block">
<div class="why-we__block-anim">
<div class="why-we__image" onmouseover="why_we__description_show(this);" style="">
<тут svg, которая много место занимает>
</div>
<div class="why-we__description" onmouseleave="why_we__img_show(this);" style="display: none;">
<p>Lorem ipsum dolor sit amet, consectetur.</p>
</div>
</div>
<div class="why-we__label"><p>Отзывчивая тех. поддержка.</p></div>
</div>
function show_full_service_info(obj){
$(obj).slideUp(50, function(){
$(obj).siblings(".service__full-info").slideDown(250);
});
}
function hide_full_service_info(obj){
$(obj).slideUp(200, function(){
$(obj).siblings(".service__short-info").slideDown(100);
});
}
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