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?
Thanks,
Walter
--
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.