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"?

If I had .here { background-color: #ccc } and I did $('foo').morph('here');, I 
would see it fade to gray from whatever background-color it already had. And I 
realize I could just do $('foo').morph('background-color:inherit'); and have 
the change removed slowly. But I don't want to just undo known styles, I'd like 
to remove a class with unknown properties over time.

Any ideas?



You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to