Re: [OT] Scriptaculous effects OpenUp/ClosedDown smoothness
Re: [OT] Scriptaculous effects OpenUp/ClosedDown smoothness
- Subject: Re: [OT] Scriptaculous effects OpenUp/ClosedDown smoothness
- From: Miguel Arroz <email@hidden>
- Date: Wed, 3 Sep 2008 01:08:12 +0100
Hi!
You are right, I just figured it out... there are two DIVs, one
above and one below, and both have margins. When the animated DIV
disappears, the margins collapse over each other or so. I placed
another DIV wrapping the animated one with padding top and bottom set
to 1px to avoid the "disappearance" and it now works, because the DIV
is always there. Looks like someone I know tomorrow will hate "those
damn programmers" and adjust the CSS spacings... :D
Lame lame lame. :(
Yours
Miguel Arroz
On 2008/09/03, at 01:00, Mike Schrag wrote:
Looks like Scriptaculous tries to calculate the DIV height to start
iterating, but the initial calculation is wrong. Or anything else...
Basically,yes ... It appears that scriptaculous effects don't proper
handle, I believe, animating margins. I think the popping you see
at the end of the animation is the margin appearing at the end of
the animation. It's incredibly lame ... Scriptaculous is total
junk, but unfortunately switching away is not a small amount of work.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
...........................
http://www.survs.com
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden