lists-Dk5a5gKDBemh6J55Ss3d3w@public.gmane.org
2006-Jun-12 22:13 UTC
Please! stopping effects, help me again
My friend Sigi wrote:> Pulsator = Class.create(); > Pulsator.prototype = {initialize: function(element,options) > { > this.element = element; > this.options = options || {}; > this.options.afterFinish = this.action.bind(this); > this.stopped = false; > this.action(); > }, > action: function(){ > if(!this.stopped) new Effect.Pulsate (this.element,this.options); > }, > > stop: function() { > this.stopped = true; > } > }problem real and original is line: this.stopped = true; So i test to Hide effect and then a Appear effect but not work :( thanks rag _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs