I'm using Effect.Morph to add a CSS class name to a DOM element in
order to add style to the element in smooth 'morphing transition', but
it's not clear how Effect.Morph can be used to remove this same
class.  From the documentation, it appears it can only be used to add
class names, but not remove them.

Any ideas?  Any help would be appreciated.  Here's my code:

// Add success row CSS class name
tbl_row.morph('row_success', 0.5);

// Remove success row CSS class name
// ?

Also, I want to make use Effects Queues to make sure the effects take
place in the desired order.  However, with this Prototype 'DOM element
extension' syntax, it's not clear how I can pass in the 'queue' option
like when I use the static-style 'new Effect.Morph' syntax.

Thoughts?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to