0
I try to change button bg-color on mouse move but code change them all when mouse move in one button help please
5 odpowiedzi
+ 2
Is there any reason why you don't want to do this via CSS and use hover?
+ 1
Ok i will see.
+ 1
Maybe, you should experiment with "setTimeout(function, delay)" function for the element background color to change in some time.
0
So what do you want ? The for loop is obviously changing all at once if mouse over happens.
0
How i can fix the code so if mouse move in first button change just this button.