See http://docs.jquery.com/UI/Effects/ClassTransitions
- Richard On Thu, Nov 13, 2008 at 7:51 AM, pixeline <[EMAIL PROTECTED]> wrote: > > hi! > > i' m looking after a way to switch an element 's class, and have the > transition of style produce a morphing. > > Example: > > .class1{ > border:1px solid red; > width:500px; > height:400px; > } > > > .class2{ > border:2px solid black; > width:320px; > height:240px; > } > > > something like: > > $('#myEl').morph('class1','class2',speed,callback); > > I understood somewhere it was available in jquery UI, but is it > actually the case? I don't find anything in the doc. > > Thanks ! > > Alexandre