jQuery UI has this feature as well:

http://docs.jquery.com/UI/Effects/ClassTransitions

http://jqueryui.com/demos/addClass/

http://jqueryui.com/demos/removeClass/

http://jqueryui.com/demos/toggleClass/

- Richard

On Fri, Jun 12, 2009 at 3:11 PM, amuhlou <amysch...@gmail.com> wrote:

>
> This got me curious and after a little digging I find a plugin called
> animateToClass
>
> http://igorvieira.com/blog/animate-to-class-en
>
> It seems to be what you're looking for.
>
> cheers,
> ~amy
>
> On Jun 12, 2:04 pm, DiggityDan <edn...@gmail.com> wrote:
> > I'm new to Jquery and I was wondering if this feature exists anywhere.
> >
> > the animate() function where instead of parameters you pass in a
> > classname and it reads the parameters from available css definitions.
> >
> > I am trying to keep my css specifics out of my javascript files.
>

Reply via email to