+ 5

$("div").animate({ opacity : 0.5, height += '100px' }, 1000);

is there is colon messing in JQuery animate question 2

11th Mar 2017, 6:41 AM
Ahmed Ozmaan
Ahmed Ozmaan - avatar
6 odpowiedzi
+ 1
oh they wrote a mistake?
11th Mar 2017, 8:18 AM
Geoffrey L
Geoffrey L - avatar
0
Isn't height:'+=100' ?
11th Mar 2017, 7:22 AM
Geoffrey L
Geoffrey L - avatar
0
so sololearn have to maintain and solve it aha?
11th Mar 2017, 8:13 AM
Ahmed Ozmaan
Ahmed Ozmaan - avatar
0
$("div"). animate ({ opacity: 0.5 , height: '+=100px' }, 5000 );
2nd Aug 2019, 6:08 AM
Mary Rosy Merlin .T
0
$("div"). animate ({ opacity: 0.5 , height: '+=100px' }, 5000 );
4th Dec 2020, 4:56 PM
El Maslohi Hassan
0
$("div"). animate ({ opacity: 0.5 , height: '+=100px' }, 5000 );
5th Sep 2022, 3:02 AM
Rajasingham Jashani
Rajasingham Jashani - avatar