Displaying 20 results from an estimated 10000 matches similar to: "Effects: User action in callbacks in addition to the defined one."
2005 Nov 17
1
afterFinish option not working as expected
Hello,
I''m trying to use the afterFinish parameter on the BlindDown effect,
but it''s not working as I expect it to. My function appears to be
called just as the effect is starting, not when the BlindDown is
complete (finished drawing).
Here''s the code that I''m using for the most part...
Effect.BlindDown( mydiv, { afterFinish:Form.enable(myform) } )
Any
2006 Mar 27
0
Effect problems
Hi,
I developed my website locally with uniserver and everything was working
well. I uploaded all my stuff to my production server and suddenly,
nothing is the same... It seems that the queues are now broken and that
my effects are running at the same time. What could cause this bug??
or what is wrong in my code?? I call the function on page load.
Also, in IE, there is a kind of flash
2006 Apr 14
1
Script.aculo.us Effects with callbacks not working as it should.
Hello all!
I''m having a problem which is driving me insane.
It''s probably related to the fact that I''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
2005 Jun 27
1
stage left and right effects
Here are two effects (with a common base) that perform a stage
left/right effect. The effect is named after the Hanna Barbara
character Snagglepuss. :) It shakes the contents briefly and then
jets off (stage) to the left or right.
I used the Shake effect as a guide to this one. The StageBase accepts
the element and an "amount" to initially shake the element by. So in
2007 Jun 16
3
Help with effect queue.
I have an interesting challenge for you. I am using both Scriptaculous
and Prototype on a web site (not using Ruby) and I am trying to queue
effects and updates. Here is the situation - I have a page with
editable blocks, when the user clicks on the edit button under the
box, I want it to:
1) Use Ajax to go out and get the code to build the editor form.
2) When it has the form, use Effect.BlindUp
2006 Jan 05
1
Two effects on one div
Hey guys,
I am trying to find a way of using two effects on one element. I am
currently using the blindDown effect but I want to use the highlight
effect on the same div after the div has opened. I am pretty new to this
and javascript in general so can anyone give me a pointers.
James
2005 Sep 17
0
scriptaculous effects
Hey there, I am new to this list and to Rails and Ajax in general. I
stumbled across the scriptaculous library and was hoping some one
could answer a couple of questions I have..
I am trying to combine effect.BlindUp and effect.BlindDown I am
obviously missing something.
I have 2 elements on my page. One is a "switch" and it has
onMouseOver="new
2006 May 29
0
[Fwd: stopping effects, help me again please]
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
2006 May 26
4
stopping effects, help me again please
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:
2005 Jul 19
1
Small patch to Effect.Highlight
I sometimes highlight a div that originally has no background colour.
The current Effect.Highlight will leave my div with a white
background, and it was not quite right for my purposes.
My one-line-patch is simply to add the afterFinish option if there is
no current background colour (insert at line 268 of effects.js
rev:1756)
if ( !current ) options.afterFinish = function(effect){
2006 Mar 30
0
Suggestion for BlindDown/Up effects
It should be nice to disable the scrollbars for the elements using the
blinddown effetcs and the like. In FF it''s ok, but in IE, you see the
scrollbar while it resizes (I activated the overflow-y: auto; property,
but in FF it still hide the scroll bar during the animation).
it''s just an estetic concern :)
bye,
Blaise
2006 Nov 27
7
3 prototype/scriptaculous effects in order on one <div>
What I am trying to do is fade out the content in a certain <div> load
new content while its black then fade in the new content but im lost.
I need it to go like this...
Effect.Fade,Ajax.Update,Effect.Appear
but everytime I try to do it it just trys to do all of them at once,
how do I go about making the effects wait on the previous one before it
starts?
2005 Jul 27
4
safari vs. firefox on mac os x: flickering combination effects
Hi.
I''m wondering if this is a documented problem. Combination effects
such as .BlindDown or .SlideDown exhibit a not so fun flicker at the
end of their rendering process in Firefox on Mac OS X. This does NOT
happen in Safari.
Does anybody know how to fix this or if it will get fixed in a next
release?
All best,
Tench
2005 Oct 11
2
Effect.BlindDown height clipping bug
There seems to be a bug with the queueing of the BlindDown effect.
I have built a test page that highlights the problem here.
http://dev.lunny.com/test/blindclipping.php
When using queueing with a BlindUP/BlindDown combination, the
BlindDown gets its height of the final state from the current height
of the element when the effect is called. This causes the finish
height of the blind down
2005 Dec 02
1
Can I pass options to these effects to control the speed?
Hi There,
I am playing around with Effect.Grow and Effect.BlindDown. I was wondering
if there is a way to control the speed at which these effects execute.
Also, for Grow it seems to exapnd from the middle. I am trying to achieve
something more like a flyout from the left. Any ideas on how I can do this?
Thanks
--
Bruce Christie
_______________________________________________
2005 Oct 10
2
Scriptaculous - chaining effects.
I have an element where I do a BlindDown on mouse over and a BlindUp
on mouse out...
The problem I am seeing is if I take my mouse off befor the first
blind down is all the way down, the blind flickers and it is
competing at lowering and raising the blind simultaneously.
I assume (hoping) there is some way to ether :
1) Have blind up wait till blind down is finished befor going back up
2006 Jun 12
0
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(){
>
2006 Jan 24
0
Safari problems w/ Effect.Appear and other effects
Prototype version: 1.4.0
Effects version: 1.51
I''ve recently been working alot with Scriptaculous and Prototype and
I''ve got some good looking results in FF and IE. However, Safari is
killing me! I would love for someone to look at this, and tell me if
its my design or the libraries.
One example:
http://www.tankdb.com/src/report_demo.php
1. Checkout the above page
2.
2005 Sep 26
1
flickering effect - Effect.BlindDown() Mozilla firefox
Hello,
I''m a novice in AJAX development, and in my first application I''m using
Effect.BlindDown() method. This effect is properly showing in IE but in
Firefox after fully opening up the image flickers once.
Can anybody help me out on how to remove this flickering.
OS using - Windows
Thanxs..
Gurcharan
-------------- next part --------------
An HTML attachment was scrubbed...
2008 Feb 21
1
Prototype - Firefox - Slow On Just One Page
I''m using Prototype/Scriptaculous on a large web app. Everything runs
briskly in IE, and everything runs briskly in Firefox except for one
page. On this page, only in Firefox, any code that touches Prototype
runs very, very slowly. In particular:
I use Effect.BlindDown/BlindUp for dropdown menus. Same html and css
on all pages. Flies along on all the other pages; here BlindDown
crawls,