jQuery slideToggle jumps at the end

Fix that pesky slideToggle.

Found a rockin forum thread on the Nabble jQeury Dev List that saved me a ton of agravation trying to get a slideToggle to stop jumping when it expanded. The basic idea, explained also in the thread, is that you calculate and store the height of your toggle item before hiding, which helps your script smoothly expand to the proper height.

Category:

Author: rosschapman

Created on: October 1st, 2009

leave a comment

Back to article list