Answer the question
In order to leave comments, you need to log in
How to hire a Senior developer if the studio does not have one?
There are middles in the company, there are juniors, there are bydlockers like me.
But it was decided to hire a Senior developer - but how do we know that he is really the professional we need? After all, his qualifications are much higher than those of current employees.
Answer the question
In order to leave comments, you need to log in
There are two options:
1. Take the risk and take the one who seems right to you.
2. Reach out to those who know how to select people for the team. In this case, the question is similar - how to understand what these people will choose correctly. To do this, you need to find out if they have successfully matched before.
Declare idInterval outside of anonymous functions, in the same place where var count = 0;
The reset variable must be visible in both functions.
Not very pretty but should work
var reset;
$(".boy-block").mouseover(function(){
clearTimeout(reset);
idInterval = setInterval(countLoop,100);
$(".circle-inner").addClass("active");
});
$(".boy-block").mouseleave(function(){
clearInterval(idInterval);
reset = setTimeout( '$(".circle-inner").removeClass("active")', 2000 - count);
count = 0;
});
and reset and idInterval declared globally (that's not the point). ClearTimeout all the same works I think. It seems to me that the problem is that the count is reset to zero and then a new one, but the animation still goes on (2sec), I can’t figure out how to do it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question