search for: beforeupd

Displaying 8 results from an estimated 8 matches for "beforeupd".

Did you mean: beforeend
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
2005 Jul 28
0
fix in effects.js
...will always appear lighter than normal. this fixes it. render: function(pos) { if(pos != this.options.to) { if(this.options.transition) pos = this.options.transition(pos); pos = pos * (this.options.to-this.options.from); pos += this.options.from; } if(this.options.beforeUpdate) this.options.beforeUpdate(this); if(this.update) this.update(pos); if(this.options.afterUpdate) this.options.afterUpdate(this); }, that is the render command for Effect.Base.prototype If you notice i tell it only only figure out what the value should be in the variable pos is no...
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
2006 Jan 21
8
scriptaculous accordion feature - Jump?
Trying the accordion feature as offered at: http://wiki.script.aculo.us/scriptaculous/show/accordion+feature The objective is to remove the "jump" reported in the Rico accordion feature. My demo of the scriptaculous feature, however has a noticeable jump when tested if FireFox. and IE Win. See: http://www.jimdavis.org/accord3.html Have I implemented this incorrectly? Jim
2005 Oct 05
0
Effect.Base.position property
...ould like to propose the addition of a position property for the base Effect class. By adding this dynamic property external objects, as well as callback functions know exactly how far along the effect has been rendered. It should be kept up-to-date in the render method, before or after the beforeUpdate event call I guess. I''m not sure. I think it would be a great addition, because one can take a running effect, get it''s position and start the same effect again using a different starting value (from:) for example. Opinions on this matter are greatly appreciated!
2006 Apr 14
1
Script.aculo.us Effects with callbacks not working as it should.
...39;'m new to javascript.... :) Here''s the thing, I have a couple of effects which are all being put in the queue. Some of these effects have callbacks; e.g. "afterFinish". But the calback is being made directly instead of after the effect is done. The same happens with "beforeUpdate" etc. The weird thing here is that it used to work when I was using global variables for all the content_elements. I now converted the global variables to come from a hash, so I can dynamically call the functions. But the effects still work, so obviously the correct strings (content_elemen...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...- codeForEvent(this.options,'afterSetup')+ - '};if (this.state=="running"){'+ - 'pos=this.options.transition(pos)*'+this.fromToDelta+'+'+this.options.from+';'+ - 'this.position=pos;'+ - codeForEvent(this.options,'beforeUpdate')+ - (this.update ? 'this.update(pos);':'')+ - codeForEvent(this.options,'afterUpdate')+ - '}}'); + this.render = (function() { + function dispatch(effect, eventName) { + if (effect.options[eventName + 'Internal']) +...
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