+ 5
$("div").animate({ opacity : 0.5, height += '100px' }, 1000);
is there is colon messing in JQuery animate question 2
6 odpowiedzi
+ 1
oh they wrote a mistake?
0
Isn't height:'+=100' ?
0
so sololearn have to maintain and solve it aha?
0
$("div").
animate
({
opacity: 0.5
,
height: '+=100px'
},
5000
);
0
$("div").
animate
({
opacity: 0.5
,
height: '+=100px'
},
5000
);
0
$("div").
animate
({
opacity: 0.5 ,
height: '+=100px'
},
5000
);