one thought would be use time vs height calculation
something like :
speed = $(this).find('content').height() * 500 ///this is not real code or time, may have to parse also i forget and in hurry
$(this).next().slideToggle(speed)
motion would then appear same speed on page regardless of size
Maujor 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
No comments:
Post a Comment