> Can anyone suggest a simple way to dynamically remove a classname's effect 
> from an element, basically removing the style that was added over time in 
> "reverse"?
> I'd try to remember original style before new classname was applied and 
morph to this style:

// remember
var foo = $('foo'), originalStyle = foo.getStyles();
// apply CSS class
// ... skipped
// morph to original style
foo.morph(originalStyle, {
  afterFinish: function(effect) {
    // remove class name after finish

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To view this discussion on the web visit 
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to