BlindDown/Up rendering wrong

1 view
Skip to first unread message

Lenni

unread,
Dec 21, 2009, 9:01:00 AM12/21/09
to Prototype & script.aculo.us
Hi,

I'm trying to use the BlindDown/Up effect but it it renders stuttery
and weird on all the major (FF 3.5, IE 8, Chrome 4) Browsers.
Basically, the "background" div that is is referenced in the function
call, doesn't extend all the way down. It's contents are shown fine.
Also, it works fine for the first time, but every susequent BlindDown
is borked.

Screenshot: http://www.flickr.com/photos/24003367@N00/4203465158/sizes/o/

My suspicion is that there is some stray CSS that the effect doesn't
aggree with, but I played around with it in Firebug but couldn't get
to the bottom of it.

I did make one observation though: Whenever I roll the div up, even in
the hidden state it still has a height CSS attribute with a value of
something like 80px. If I manually remove the attribute the BlindDown
looks as intended.

Anybody care to enlighten me as to what I'm doing wrong?

david

unread,
Dec 22, 2009, 1:26:19 PM12/22/09
to Prototype & script.aculo.us
Hi Lenni,

Do you have any code whe can play with ??
the HTML used and CSS applyied on HTML element :))

--
david

Lenni

unread,
Jan 4, 2010, 9:40:48 AM1/4/10
to Prototype & script.aculo.us
For future reference:

I just found out what triggered the the funny rendering: BlindUp was
called whilst BlindDown was still rendering. That obviously caused
problems. Now BlindUp waits until BlindDown is finished.

Reply all
Reply to author
Forward
0 new messages