After further experimentation, it seems I needed to have the parameter: {to: 0.99}, not {to: 0.01}

On 2/6/06, Yehuda Katz < [EMAIL PROTECTED]> wrote:
It seems to be a side-effect of the makeClipping commend in Effect.BlindDown. When I comment it out, I no longer have the problem, but I do need the clipping behavior. Any thoughts?


On 2/6/06, Yehuda Katz <[EMAIL PROTECTED]> wrote:
Using to: x doesn't work. The element still disappears after it reaches its desired destination.

On 2/6/06, Gregory Hill < [EMAIL PROTECTED]> wrote:

You could do:

new Effect.SlideUp(element, { to: 0.01 });

 

That way it'll only slide up until there is 1% showing, and not completely remove it.

 

Then, on the reverse do:
new Effect.SlideDown(element, { from: 0.01 });

 

Or at least that *should* work.

 

Good luck.

 

Greg

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Yehuda Katz
Sent: Monday, February 06, 2006 11:28 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] Urgently Need Solution

 

I'm using scriptaculous' SlideUp and SlideDown effects to animate a menu. Specifically, I SlideUp, make some CSS changes, and SlideDown. All works well, except that for a split second in between, the element's display becomes 'none' and the other menu item jump into the space. I haven't been able to find any way to force an element to retain 'display: block' or 'display: inline' after completing an animation like SlideUp or Fade.

Any thoughts?

 --
Yehuda Katz
Web Developer
(ph)  718.877.1325
(fax) 718.686.4288


_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs





--
Yehuda Katz
Web Developer
(ph)  718.877.1325
(fax) 718.686.4288



--
Yehuda Katz
Web Developer
(ph)  718.877.1325
(fax) 718.686.4288



--
Yehuda Katz
Web Developer
(ph)  718.877.1325
(fax) 718.686.4288
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to