1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<script> //jquery call var yourvariable = ['foo', 'bar', 'foobar', 'moo', 'meow', 'xxx']; data = yourvariable; var list = $('ol'); $.each(data, function(i, value) { $('<li/>', { text: value }).hide().appendTo(list).delay(i * 1000).fadeIn(); }); </script> <ol id="categories-source-results" class='news-list categories-sortable'> </ol> |
