search for: beforestart

Displaying 9 results from an estimated 9 matches for "beforestart".

Did you mean: before_part
2006 May 22
13
Canceling a specific effect
...else if (!toggle && vis && this.currentHeader != element) { new Effect.BlindUp( element+''Text'', { queue: {scope: ''headers'', position:''end''}, beforeStart: function() { if (menu.currentHeader == element) { this.cancel(); } } }); } }, I''m not sure that this.cancel(); cancels the effect, nor that the comparisson (currentHea...
2006 Jun 23
2
Queue 3 or more RJS actions
My .rjs file page.visual_effect :BlindUp, "people", :queue => ''front'' #first action page.replace_html "people", :partial => ''person/person_compressed'', :collection => @search_results , :queue => ''end'' #second action, after first is done page.visual_effect :BlindDown, "people" , :queue =>
2005 Aug 25
0
[PATCH] do not use beforeStart, afterFinish, beforeUpdate, and afterUpdate internally in combination effects
Hello, my patch separates usage of the callback between the user, combination effects, and the core effects. Consider these use cases. a) user - core effects b) user - combination effects - core effects For a), the existing callbacks can be used by the user For b), the existing callbacks are partly used by the combination effects as a communication channel to the core effects, therefore they
2008 Jun 19
2
Capturing draggable revert
...var dur = Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02; new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur, queue: {scope:''_draggable'', position:''end''} }); }, I propose putting it as a beforeStart call in the Effect.Move function. Does this make sense? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TL...
2006 May 03
1
Start/Finish events with $$ function?
...to $$(''.MyClass'').each(function(element, index) { /* Do something nifty */ }); and it takes a noticeable amount of time. I''m thinking that it would be beneficial to show a loading image while $$ is processing. So I was curious if the $$ function offered any event hooks (beforeStart, afterFinish, etc) like scriptaculous events do... Does anyone think that this would work? or would the browser be locked and not animate the gif? _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://l...
2006 May 30
0
problem with effect toggle - please help
Hello, I''m having the following code below - when I click on the button in order to toggle a div, it is working when the div is visible - after it is toggled once, the beforeStart stuff isn''t executed anymore! interestingly, when I change this Effect.toggle(this.bContentWrap, ''blind'', { to this: Effect.toggle(this.bContentWrap, ''slide'', { everything seems to work. does anybody have an idea what''s causing this...
2006 Apr 03
5
RJS Queue
Hi, I''ve been able to succesfully queue page.visual_effect commands in my RJS templates. Each command will wait to execute until the previous command is done executing. But I''d also like to execute a page.replace_html command AFTER the page.visual_effect commands. I have a series of five DIVs: div1 div2 div3 div4 div5 When the user clicks on div1, a page.visual_effect
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
....options.transition(pos) * this.fromToDelta) + this.options.from; + this.position = pos; + dispatch(this, 'beforeUpdate'); + if (this.update) this.update(pos); + dispatch(this, 'afterUpdate'); + } + }; + })(); this.event('beforeStart'); if (!this.options.sync) @@ -392,7 +399,7 @@ Effect.Move = Class.create(Effect.Base, { // for backwards compatibility Effect.MoveBy = function(element, toTop, toLeft) { - return new Effect.Move(element, + return new Effect.Move(element, Object.extend({ x: toLeft, y: toTop },...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server