jQuery.fn.showLoop = function(i){
  var i = i || 0,
    self = this;
  $( this[i] ).show(600, function(){
       self.showLoop(++i);
  });
};

$('.type').showLoop();

On Mar 16, 7:27 pm, Tom  Shafer <tom.sha...@gmail.com> wrote:
> how can i loop through each div on a page and have them appear one by
> one
> i am trying
>
> var arrayList2 = $.makeArray(document.getElementsByClassName
> (".type"));
>
>                                                 $.each(arrayList2,function() {
>                                                         $(this).show();
>                                                 });
>
> thanks
>
> -tj

Reply via email to