Thanks!
No worries. I should have mentioned -- although I'm sure you realize
-- that you can create the options once and reuse them:
var fxoptRestoreStyle = {
beforeStart: function(effect) {
effect.saveStyle = effect.element.style.cssText;
},
afterFinish: function(effect)
cssText works in all supported browsers and is of course fully unit
tested.
Best,
Tobie
On Jul 17, 4:42 pm, T.J. Crowder t...@crowdersoftware.com wrote:
Hi,
Yeah, bit of a pain that there's no standard way to _remove_ a style
from the style property entirely. Setting things to is not the
Thanks!
On Fri, Jul 17, 2009 at 10:42 AM, T.J. Crowder t...@crowdersoftware.comwrote:
Hi,
Yeah, bit of a pain that there's no standard way to _remove_ a style
from the style property entirely. Setting things to is not the
same thing.
However: Effects offer beforeStart and afterFinish