I\'m developing a website using bootstrap and its responsive JS+CSS.
At the top of the page I have a fixed navigation bar where an \"expand menu\" button is shown in
jQuery has an animation listener built in: http://docs.jquery.com/Selectors/animated
Example: if( $(foo).is(':animated') ) {...}
if( $(foo).is(':animated') ) {...}
Then if an element is !animated you can can apply whatever logic you want.