Hi Alexandre
Thanks for your kindness reply
Sorry but this isn't the well know "padding - margin" jump issue [1].
Have a closest look at the sources of my live examples and you will see,
as I pointed out on my OP, that the issue comes from the widht.
PS: The examples don't use paddings or margins
Regards
MaurĂcio
-----Mensagem Original-----De: Alexandre MagnoPara: jQuery (English)Enviada em: sexta-feira, 26 de junho de 2009 14:43Assunto: [jQuery] Re: slideToggle jump issue
Hello Maujor,
First of all, I'm your big fan...
I had this problema a lot of times, sometimes in one browser, another
time in others, Wich browser the problem came from?
My problem was always because of padding, it seens that slideToggle
doesn't consider the padding... so everytime the amount of jump was
relative to padding size. So I didint find the right thing to solve
the problem, but I take out the padding via javascript before call
slideToggle and then give the same padding again in callback, this
solve to me... not a ideal solution, but mabe it can help...
Alexandre Magno
Interface Developer
http://blog.alexandremagno.net
On Jun 26, 1:28 pm, Maujor <css.mau...@gmail.com> wrote:
> I have the same slideToggle effect in two slightly differents scenarios.
> Scenario #1 - There is a CSS rule setting with:700px for the whole scenario.
> Scenario #2 - There isn't a CSS rule for the width, so it defaults to 100%
> width.
>
> Issue: In scenario #2 all works fine. But, in scenario #1 the animation ends
> with a little jump.
> PS: If you resizes the window to a width less than 700px it works fine!
>
> Are there a fix or is this a bug?
>
> Live examples:
> scenario #1 http://jsbin.com/adavu/
> scenario #2 http://jsbin.com/etoli/
>
> TIA
>
> -----
> MaurĂcio Samy Silva
> --
> View this message in context:http://www.nabble.com/slideToggle-jump-issue-tp24223386s27240p2422338...
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.
No comments:
Post a Comment