[Javascript] Strange margins with scriptaculous
Frank Arensmeier
frank.arensmeier at nikehydraulics.se
Tue Jan 9 02:31:25 CST 2007
Setting the hight of the content div back to "auto" when collapsing
did the trick.
//frank
9 jan 2007 kl. 01.37 skrev Mike Dougherty:
> On Mon, 8 Jan 2007 22:18:48 +0100
> Frank Arensmeier <frank.arensmeier at nikehydraulics.se> wrote:
>> CLAI - thats what I ment. Weird, because Explorer (6 at least)
>> does not seem to suffer from this problem. I think there must be
>> a way to cancel an slide down effect. I read somewhere about the
>> function .cancel(). I tried to assign the slide down effect like
>> myEffect = new Effect.SlideDown(divId, {duration:1});
>> When hitting the show/hide image again I have a myEffect.cancel();
>> in my java script. But this does not seem to have the desired
>> effect (=cancel and unset the current effect object).
>> I will get back when I have a solution.
>
>
> ie: cancelBubble
> else: stopPropagation
>
> see this: http://www.quirksmode.org/js/events_order.html
>
> 'hope it helps
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list