Hi * and thanks for you responses

some body help me stop effect, just last effect.

Thanks! to somebody help me with:

Pulsator = Class.create();
Pulsator.prototype = {initialize: function(element)
        {
                this.stopped = false;
                new Effect.Pulsate(element, { afterFinish: 
this.action.bind(this) });
        },action: function(element){if(!this.stopped) new 
Effect.Pulsate(element,
{ afterFinish: this.action.bind(this) });
        },stop: function(element) {this.stopped = true;}
}
but this solution doesn't work to stop.

thanks in advance
rag

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to