I'd take a guess that "vkfade" doesn't return the original jQuery
object (keeping "chaining" alive)


On Feb 20, 7:55 pm, "Dan B." <dan.baugh...@gmail.com> wrote:
> Yes it does. So that means it must be an issue with vkfade... it might
> use a global variable or something.
>
> Thanks for the trouble shooting aid.
>
> Dan
>
> On Feb 20, 5:45 pm, James <james.gp....@gmail.com> wrote:
>
> > It should. But since I don't know what vkfade is and what
> > elements .positiveMessage is assigned to, it's hard to tell what's
> > wrong.
>
> > What happens if you replace:
> > $(this).vkfade("00dd00")
> > with:
> > $(this).hide();
> > ?
>
> > do they all hide as expected?
>
> > On Feb 20, 2:38 pm, "Dan B." <dan.baugh...@gmail.com> wrote:
>
> > > so i have a class "positiveMessage" I use throughout the page and i
> > > always want to fade them (FAT style).
>
> > > I'm starting to catch, but I can't figure out why this only fades the
> > > first one!
>
> > > $('.positiveMessage').each(
> > >             function(){$(this).vkfade("00dd00")}
> > > );
>
> > > Shouldn't this find every element with css class "positiveMessage" and
> > > then run vkfade on it???

Reply via email to