jquery each and animate

jquery each and animate

Hello,

i use jquery since some months, and find it great... now i faced a problem i never had, so i need someone to help me.
i'd like to "build" a page using jquery. In my code i put part of the content in a ul and set every li to display:none. Then i'd like to do something like:

  1. $('ul#portfolio li').each(function() {
  2.         $(this).show(1000);
  3.     });

expecting every element to display one by one... but it doesn't work.

please, help.

thanks a lot!