Is it possible to somehow specify the speed of toggle('blind')
animation?
My problem is this: I use it to display dynamic content, so I usually don't know the exact size of the element that is to be displayed. Since the animation speed is dependent on both 'duration' argument and the size of element, which is variable, I cannot control the speed itself.
My solution: Use the obj.toggle('blind', obj.height() / x)
where x
is the desired speed in pixels per millisecond. Is this solution acceptable?