Answer the question
In order to leave comments, you need to log in
Animating a jQuery table?
It is necessary to make a smooth, alternate animation of the appearance of lines (tr), so that each line "leaves" from the previous one. What is the best way to implement this? I also looked towards Animate.css , with fadeInDown animation
https://jsfiddle.net/tqehLpj8/
Answer the question
In order to leave comments, you need to log in
I don’t understand why animate didn’t please you? Or you don't know about the callback principle?
In CSS set all tr = display:none;
Next, determine the number of tr. After that, execute the following function.
for (var i = 1; i<tr.length; i++)
$('.table tr:nth-child('+i+')').slideToggle( "slow" );
input[type="text"]::-webkit-input-placeholder { color: red; }
input[type="text"]::-moz-placeholder { color: red; }
input[type="text"]::-webkit-input-placeholder {color:red;}
input[type="text"]::-moz-placeholder {color:red;}/* Firefox 19+ */
input[type="text"]:-moz-placeholder {color:red;}/* Firefox 18- */
input[type="text"]:-ms-input-placeholder {color:red;}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question